30.12.2011, 11:11
forward the timers
at gamemodeint
PHP код:
forward HealthArmourCheat(playerid);
forward HealthArmourCheat2(playerid);
PHP код:
SetTimer("HealthArmourCheat", 100, true);
SetTimer("HealthArmourCheat2", 101, true);
PHP код:
public HealthArmourCheat(playerid)
{
GetPlayerArmour(playerid,armour);
return 1;
}
public HealthArmourCheat2(playerid)
{
new Float:newarmour;
if(GetPlayerArmour(playerid,newarmour))
{
if (newarmour < armour)
{
Kick(playerid);
}
return 1;
}
return 1;
}