21.07.2012, 14:31
pawn Код:
if(!strcmp(cmdtext, "/godmode", true, 3)) // If typed /godmode
{ // then
if(IsPlayerAdmin(playerid)) //checks if is an admin (rcon)
SetPlayerHealth(playerid, 999999999); // set the health to 999999999
}
You'd practically be invulnerable unless someone shoots you 22727272 times with a deagle which would take around 28409090 seconds.