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



Weapons - basker - 23.07.2009

Hello i just wont to ask is it possible to use a command like /drop and that weapon the player have taget drops ? and can you show me a FS or a code on how to do it ?


Re: Weapons - Correlli - 23.07.2009

http://forum.sa-mp.com/index.php?topic=24816.0


Re: Weapons - basker - 23.07.2009

Quote:
Originally Posted by Don Correlli
Thats still droppin all you weapons not only that you have tagget


Re: Weapons - Correlli - 23.07.2009

Quote:
Originally Posted by ZutDenOpFraSlap
Thats still droppin all you weapons not only that you have tagget
tagget?


Re: Weapons - basker - 23.07.2009

Hmm i mean like that weapon that the player have in his hand i wont that to be the only one to drop is that possible ?


Re: Weapons - Correlli - 23.07.2009

Yes, you would need to change the script a little and use GetPlayerWeapon (returns the ID of the player's current weapon - that is what you want?).


Re: Weapons - basker - 23.07.2009

oh yes its is Thx