Damage bug
#1

Why is this killing the player instantly?
Код:
	if(issuerid != INVALID_PLAYER_ID && weaponid == 24 && (bodypart == 9))
	{
		//SetPlayerArmour(playerid, -armour);
   		SetPlayerHealth(playerid, -2);
	    SendClientMessage(playerid, COLOR_YELLOW, "DEBUG: Ai fost lovit in cap.");
	}
	if(issuerid != INVALID_PLAYER_ID && weaponid == 24 && (bodypart == 3))
	{
		//SetPlayerArmour(playerid, -armour);
   		SetPlayerHealth(playerid, -50);
	    SendClientMessage(playerid, COLOR_YELLOW, "DEBUG: Ai fost lovit in piept.");
	}
Reply


Messages In This Thread
Damage bug - by AndreiWow - 18.01.2017, 12:42
Re: Damage bug - by renatog - 18.01.2017, 12:54
Re: Damage bug - by Lordzy - 18.01.2017, 12:55
Re: Damage bug - by Injury - 18.01.2017, 12:55
Re: Damage bug - by GoldenLion - 18.01.2017, 12:55
Re: Damage bug - by AndreiWow - 18.01.2017, 13:04

Forum Jump:


Users browsing this thread: 1 Guest(s)