06.02.2017, 05:19
If you want to set the players health of I to one hundred then you can do this.
if you wanna knoaw if the players health is 100.0
then do this
PHP код:
if(IsPlayerConnected(i))
{
SetPlayerHealth(i, 100.0);
return 1;
}
then do this
PHP код:
if(IsPlayerConnected(i) && GetPlayerHealth(i))
{
//initiate killing sequence because we set the player health to 99 for anti health hack.
}

