SA-MP Forums Archive
Weapon pickup - 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: Weapon pickup (/showthread.php?tid=85164)



Weapon pickup - Frankox - 05.07.2009

Hi, i would like to do one thing and the thing is:
When i kill the player that the weapons of the killed player stays on the ground so i am able to pick them up.
If u can maybe do it...

TNX.





Re: Weapon pickup - Frankox - 05.07.2009

I mean after i kill someone the guns are around the killed pearson and im able to pick them up...


Re: Weapon pickup - dice7 - 05.07.2009

under OnPlayerDeath save the playes position and then use CreatePickup the make the weapons

https://sampwiki.blast.hk/wiki/OnPlayerDeath
https://sampwiki.blast.hk/wiki/CreatePickup
https://sampwiki.blast.hk/wiki/GetPlayerPos


Re: Weapon pickup - Frankox - 05.07.2009

Quote:
Originally Posted by dice7
under OnPlayerDeath save the playes position and then use CreatePickup the make the weapons

https://sampwiki.blast.hk/wiki/OnPlayerDeath
https://sampwiki.blast.hk/wiki/CreatePickup
https://sampwiki.blast.hk/wiki/GetPlayerPos
Can u write the whole code pls?


Re: Weapon pickup - Correlli - 06.07.2009

Use this one -> http://forum.sa-mp.com/index.php?topic=24816.0