17.08.2015, 03:55
I don't really get it but I doubt that you have created
in OnPlayerDisconnect before your timer
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
Which is not
Just guessing xd
And btw, why you are setting the health of the player to 0 when he disconnects? xD
Код:
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