24.12.2009, 17:00
Quote:
This doesn't work cause the players health stays 100000 during the whole game, not just after he/ she spawns. |
Quote:
public invincible() { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i) == 1) { SetPlayerHealth(i,100000); SendClientMessage(i, COLOR, "HEREYOURTEXT"); SetTimer("Notinvinc", 6000, 0); } } return 1; } |
Quote:
public Notinvinc () { for(new i=0; i < MAX_PLAYERS; i++) { SetPlayerHealth(i, 100); SendClientMessage(i, COLOR, "HEREYOURTEXT"); } } |