auto disable god
#5

I also need help with this code, I cant fix it
Код:
public OnPlayerTakeDamage( playerid, issuerid, Float:amount, weaponid )
{
	new Float:h;
	GetPlayerHealth(playerid, h);
	if (PlayerAcc[playerid][God] == 1 && h == FLOAT_INFINITY)
	{
	GameTextForPlayer(playerid, "~r~The player you're trying to hit has ~g~god mode activated~r~!", 5000, 5);
	}
	return 1;
}
Reply


Messages In This Thread
auto disable god - by suni - 26.07.2015, 17:30
Re: auto disable god - by SickAttack - 26.07.2015, 17:41
Re: auto disable god - by Moudix - 26.07.2015, 17:41
Re: auto disable god - by suni - 26.07.2015, 17:59
Re: auto disable god - by suni - 26.07.2015, 19:06
Re: auto disable god - by youssefehab500 - 26.07.2015, 19:10
Re: auto disable god - by suni - 26.07.2015, 19:14
Re: auto disable god - by suni - 28.07.2015, 03:38
Re: auto disable god - by jamesmith12 - 28.07.2015, 03:40

Forum Jump:


Users browsing this thread: 1 Guest(s)