Disable player from shooting [solved] - 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: Disable player from shooting [solved] (
/showthread.php?tid=206301)
Disable player from shooting [solved] -
park4bmx - 03.01.2011
I want to disable player from shooting in a certain area
How can u do that??
pawn Code:
if(IsPlayerInRangeOfPoint(playerid, 50, X,Y,Z)){
SetPlayerArmedWeapon(playerid,0); // disables weapons
}
.
Re: Disable player from shooting -
_rAped - 03.01.2011
Look at
SetPlayerArmedWeapon()
Re: Disable player from shooting -
park4bmx - 03.01.2011
Quote:
Originally Posted by _rAped
|
kk thanks ill check it out
OK NICE IT WORKED
Thanks

)