26.07.2015, 19:06
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;
}

