17.08.2015, 04:30
Quote:
I don't really get it but I doubt that you have created
Код:
pInfo[playerid][DM] = 0; That means when the player disconnects, the DM info sets to 0 before your alive counter starts So when the counter checks the player, it won't work because you are checking if the DM info sets to 1 Код:
pInfo[playerid][DM] && pInfo[i][DM] == 1 Just guessing xd And btw, why you are setting the health of the player to 0 when he disconnects? xD |
Код:
pInfo[playerid][DM] = 1;
and i'm setting the hp to 0
cuz when the player dies it removes 1 from the alive counter, so i thought that would work, but it didn't, and i forgot to remove it!