06.02.2009, 18:30 
	
	
	
		make a timer for a player you want to stop this and make it set the players health to 100
	
	
	
	
pawn Код:
new playergod[playerid];
//UnderGameModeInit
SetTimer("God",1000,1);
//Any where
forward God();
public God()
{
for (new i = 0;i < MAX_PLAYERS;i ++)
{
if (playergod[i] == 1)
{
SetPlayerHealth(i,100);
}
}
return 1;
}
//OnPlayerCommandText
if(strcmp(cmdtext, "/god", true) == 0)
{
playergod[playerid] = 1;
}
if(strcmp(cmdtext, "/notgod", true) == 0)
{
playergod[playerid] = 0;
}


