Get Player Weapon
#1

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);
		}
Reply


Messages In This Thread
Get Player Weapon - by StrikerZ - 03.10.2016, 06:38
Re: Get Player Weapon - by CarRamper - 03.10.2016, 06:42
Re: Get Player Weapon - by CarRamper - 03.10.2016, 06:45
Re: Get Player Weapon - by StrikerZ - 03.10.2016, 06:49
Re: Get Player Weapon - by CarRamper - 03.10.2016, 06:56
Re: Get Player Weapon - by CarRamper - 03.10.2016, 07:06
Re: Get Player Weapon - by StrikerZ - 03.10.2016, 07:13
Re: Get Player Weapon - by CarRamper - 03.10.2016, 07:37
Re: Get Player Weapon - by StrikerZ - 03.10.2016, 09:33

Forum Jump:


Users browsing this thread: 1 Guest(s)