Pickup problem - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Pickup problem (
/showthread.php?tid=165554)
Pickup problem -
vection - 05.08.2010
I just back scripting, i was in 0.2.2 and my gamemode work good.
but in 0.3a the pickups doesnt appear.
i dont know if its the version or somthing..
for example:
CreatePickup(1239, 1, 1173.2563,-1323.3102,15.3943); //Hospital 1 near Amm
CreatePickup(1239, 1, 2029.5945,-1404.6426,17.2512); //Hospital 2 near speedway
CreatePickup(1239, 1, 253.9280,69.6094,1003.6406); //Clear icon in Police Station
but they doesnt appear.
What the problem?
Re: Pickup problem -
willsuckformoney - 05.08.2010
Pickup Types <---Link<---
when you
CreatePickup(1239, 1 the 1 means not pickupable
Re: Pickup problem -
vection - 05.08.2010
I changed to 23 and its steal doesnt work.
Re: Pickup problem -
Prumpuz - 05.08.2010
The reason might be the virtual world id is missing at the end.
CreatePickup(1239, 1, 1173.2563,-1323.3102,15.3943); //Hospital 1 near Amm
Should be like:
CreatePickup(1239, 1, 1173.2563,-1323.3102,15.3943, -1); //Hospital 1 near Amm
-1 makes it show in all worlds. More:
https://sampwiki.blast.hk/wiki/CreatePickup
Re: Pickup problem -
vection - 05.08.2010
thanks mate, thats help.