Quote:
Originally Posted by Lorrden
Yes
Like:
pawn Code:
// On top: new playerIsDead[MAX_PLAYERS];
//OnPlayerConnect(playerid) playerIsDead[playerid] = 0;
OnPlayerSpawn(playerid) { if(playerIsDead[playerid] == 1) { //Do something here } return playerIsDead[playerid] = 0; }
|
what do i need to do with onplayerdeath?