Health error
#2

PHP код:
public OnPlayerUpdate(playerid)
{
    new 
Float:Health;
    
GetPlayerHealth(playeridHealth);
    if(
Health MAX_HEALTH)
    {
        
TogglePlayerControllable(playeridfalse);
        
SetPlayerPos(playerid1941.1534,-1100.2391,-23.7885);
        
ShowPlayerDialog(playeridDIALOG_PRAVILA,DIALOG_STYLE_MSGBOX,"Anti-Hack""{FFCC00}[Anticheat]"BJELA"YOUKikovani ste sa servera\nRazlog kick-a:"CRVENA" Health Hack","Ok","");
        
BanEx(playerid"Health Hack");
    }
    return 
1;
}
public 
OnPlayerSpawn(playerid)
{
        
SetPlayerHealth(playerid99);
        return 
1;

Try this
Reply


Messages In This Thread
Health error - by lanix - 23.01.2015, 14:15
Re: Health error - by nezo2001 - 23.01.2015, 14:22
Re: Health error - by lanix - 23.01.2015, 14:27
Re: Health error - by nezo2001 - 23.01.2015, 14:31
Re: Health error - by lanix - 23.01.2015, 14:37
Re: Health error - by lanix - 23.01.2015, 14:42
Re: Health error - by Riso135 - 23.01.2015, 14:44
AW: Health error - by Saize - 23.01.2015, 14:45
Re: Health error - by lanix - 23.01.2015, 14:47
Re: Health error - by Riso135 - 23.01.2015, 14:54

Forum Jump:


Users browsing this thread: 3 Guest(s)