07.11.2010, 11:43
Quote:
Ok add this:
pawn Код:
Make it a 'bool' -> new bool:logged[MAX_PLAYERS]; And then logged[playerid] = 0; is now logged[playerid] = false;, and logged[playerid] = 1; is then logged[playerid] = true; Then you can check if a player is logged on this way: if(logged[playerid]) instead of if(logged[playerid] == 1) And ps, if(logged[playerid] == 0) is then if(!logged[playerid]) |