Check gun hand
#1

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!");
}
Reply
#2

Maybe show where you have it? In what callback or command?
Reply
#3

trunk system..
Reply
#4

What? Just show that callback where you use that code, show more code man.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)