SA-MP Forums Archive
Getting players weapons and returning them - 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: Getting players weapons and returning them (/showthread.php?tid=251334)



Getting players weapons and returning them - [JnA]DukeNukem - 26.04.2011

How can I get all weapons that a player has, and give the exact same weapons/ammo to another player with a command...

Actually to make it simple, I want it to save weapons when a player does /duty(becomes a cop) and when he does /dutyoff he gets those weapons...


Re: Getting players weapons and returning them - Vince - 26.04.2011

Look into GetPlayerWeaponData.