SA-MP Forums Archive
How to reset 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: How to reset weapons (/showthread.php?tid=146989)



How to reset weapons - ruckfules99 - 10.05.2010

If a player is in jail, how can i reset weapons over and over?


So if a hacker was sent to jail and spawned weapons it automatically disables them


Re: How to reset weapons - Miguel - 10.05.2010

pawn Код:
if(IsPlayerJailed(playerid)) ResetPlayerWeapons(playerid);