Check gun hand - 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: Check gun hand (
/showthread.php?tid=550921)
Check gun hand -
Slicebook - 15.12.2014
Hello! why this is not good?
I do not have a gun and not detected
Код:
new gunid = GetPlayerWeapon(playerid);
if(gunid == 0)
{
SendClientMessage(playerid,-1,"[Server]: No weapon in your hands!");
}
Re: Check gun hand -
Raweresh - 15.12.2014
Maybe show where you have it? In what callback or command?
Re: Check gun hand -
Slicebook - 15.12.2014
trunk system..
Re: Check gun hand -
Raweresh - 15.12.2014
What? Just show that callback where you use that code, show more code man.