Players Alive counter doesn't go down OnPlayerDisconnect
#2

I don't really get it but I doubt that you have created
Код:
pInfo[playerid][DM] = 0;
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
Код:
pInfo[playerid][DM] && pInfo[i][DM] == 1
Which is not

Just guessing xd

And btw, why you are setting the health of the player to 0 when he disconnects? xD
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)