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)
+--- Thread: Weapons (
/showthread.php?tid=496093)
Weapons -
lsreskjn - 20.02.2014
Hey, im looking for very simple example of the script that will reset players weapon if they have RPG, minigun etc.
Re: Weapons -
Vanter - 20.02.2014
pawn Код:
if(GetPlayerWeapon(playerid) == 35 || GetPlayerWeapon(playerid) == 38)
{
ResetPlayerWeapons(playerid);
}
Re: Weapons -
lsreskjn - 20.02.2014
where should i put that?
Respuesta: Weapons -
CuervO - 20.02.2014
In a timer, or at OnPlayerUpdate for faster results.
Re: Weapons -
lsreskjn - 20.02.2014
yeah i got it before...thanks