SA-MP Forums Archive
how to make the drop thing - 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: how to make the drop thing (/showthread.php?tid=145168)



how to make the drop thing - Micko9 - 01.05.2010

like i saw it on some servers : pickups of the killed's money,weapons & health...how to do that?


Re: how to make the drop thing - maij - 01.05.2010

onplayerdeath, create a pickup and store the pickup's id.

OnPickup, compare the pickup id with the stored pickupid.
then give the stats.

note: using money pickup, health pickup and weapons etc, they give stats automaticly by itself upon pickup.
For example, when creating a money pickup, it will give you automaticly 200 dollars or whatever. Keep that In mind.


Re: how to make the drop thing - [MWR]Blood - 01.05.2010

You can see here
http://forum.sa-mp.com/index.php?topic=37000.0