03.10.2016, 06:38
Hey there. I'm making headshot system. I need to know how to check if a player is having gun. I'm making the headshot for every weapon. So i think getplayerweapon won't help me. Like, if he won't have any gun then headshot will not occur. For now i made this. Is it correct?
Код:
if(GetPlayerWeapon(playerid) && ScopeEnabled == 1)) { new Float:blahx, Float:blahy, Float:blahz; HeadshotCheck(playerid, blahx, blahy, blahz); }