Geht das danna uch so:
public anticheat(playerid)
{
new health = GetPlayerHealth(playerid);
for(new i; i<MAX_PLAYERS; i++)
{
SetPlayerHealth(i, health-1 );
if (health == 100)
{
Kick(playerid);
}
new health = GetPlayerHealth(playerid);
for(new i; i<MAX_PLAYERS; i++)
{
SetPlayerHealth(i, health+1 );
return 1;
}