SetPickupRegenerationTime does not seem to be working as expected. I posted in discussion but without any resolve, so this seems to be a bug.
We have tested many variations of this, all drops seems to always respawn between 45 and 60 seconds.
-- client side.
local newloot = {
{drop=0x9CF13918, model=0xD205520E},-- PICKUP_WEAPON_HEAVYPISTOL / WEAPON_HEAVYPISTOL
{drop=0xDF711959, model=0x83BF0278},-- PICKUP_WEAPON_CARBINERIFLE / WEAPON_CARBINERIFLE
}
pickuptime = 600000 -- expected 10 minutes, tried 5 as well.
newloots = newloot[lootitemnum]
pickup = CreatePickupRotate(newloots.drop, item.x, item.y, item.z, item.x, item.y, item.z, 512, 120, true, true, newloots.model)
SetPickupRegenerationTime(pickup, pickuptime)