SA-MP Forums Archive
about pickups. - 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: about pickups. (/showthread.php?tid=367507)



about pickups. - budelis - 10.08.2012

HI i want to ask. I create first pickup in gamemode with command. pickup pickupid will be 0? and when i destroy him, and create again is pickup pickupid will be again 0?


Re: about pickups. - Sascha - 10.08.2012

not totally sure, but I think it'll be "1" and not "0"...
And I guess the next one will be 2, like on the vehicleids... but that's not for sure, but you could simply try with a print msg..
use a variable to get the pickupid and then print it into the console.. then you'll know for sure