Pickups arn't showing inside interior? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Pickups arn't showing inside interior? (
/showthread.php?tid=615931)
Pickups arn't showing inside interior? -
DarrenReeder - 29.08.2016
All the pickups I've scripted into the Interiors are not showing up. I've tried the standards samp pickups and ive tried using dynamic pickups. The exact same pick types/models work as they should outside... here is what they look like in the script:
Код:
CreateDynamicPickup(1318, 1, 1858.5594,-1729.1056,5202.5859 ,0, 1); // LSPD locker
CreateDynamicPickup(1318, 1, 1860.2227,-1743.0481,5209.6860 ,0, 1); // cafeteria cleaner
CreateDynamicPickup(1318, 1, 1846.7448,-1742.7616,5206.0859 ,0, 1); // laundret
CreateDynamicPickup(1318, 1, 1865.9827,-1729.0376,5209.6870 ,0, 1); // kitchen cleaner
its been happening since yesterday, cant figure out a way to fix it. has anyone had this issue before?
Re: Pickups arn't showing inside interior? -
Shinja - 29.08.2016
The last param is the interior id, and before it worldid, setting worldid to -1 is all vw's, you can keep interiorid also -1 for all interiors or set it to the right interiorid
PHP код:
CreateDynamicPickup(modelid, type, Float:x, Float:y, Float:z, -1, -1)
Re: Pickups arn't showing inside interior? -
DarrenReeder - 29.08.2016
Set both to -1 but still no pickup is showing up...
:S
Re: Pickups arn't showing inside interior? -
Wolfe - 29.08.2016
Are you sure you're in the right virtual world?