Unable To Shoot? - 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: Unable To Shoot? (
/showthread.php?tid=250019)
Unable To Shoot? -
aircombat - 21.04.2011
Is there a way to stop the player from being able to shoot?
Re: Unable To Shoot? -
Alby Fire - 21.04.2011
pawn Код:
public OnPlayerUpdate(playerid) {
SetPlayerArmedWeapon(playerid,0);
return 1;
}
Re: Unable To Shoot? -
aircombat - 21.04.2011
is that gonna stop him from shooting not going to take his weapon?
Re: Unable To Shoot? -
captainjohn - 21.04.2011
That will give the player no weapons apart from fists, so he can't shoot because he has no weapons.
Re: Unable To Shoot? -
aircombat - 21.04.2011
what i am trying to do is like a player can hold a weapon like m4 but he can't shoot with it as a cooldown
Re: Unable To Shoot? -
captainjohn - 21.04.2011
This should help
https://sampwiki.blast.hk/wiki/SetPlayerArmedWeapon