01.09.2011, 10:46
Hi Lorenc, thanks for your answer.
Btw, from your tutorial, this
Doesn't it need a IsPlayerConnected check?
EDIT:
I gotta another question.
Example:
PlayerInfo[playerid][pAdminLevel] = 0;
Where is it best to put this? OnPlayerConnect or OnPlayerDisconnect? Or maybe both?
Thanks
Btw, from your tutorial, this
pawn Code:
public OnGameModeExit()
{
for(new i; i != MAX_PLAYERS; i++) OnPlayerDisconnect(i, 1);
db_close(Database);
return 1;
}
EDIT:
I gotta another question.
Example:
PlayerInfo[playerid][pAdminLevel] = 0;
Where is it best to put this? OnPlayerConnect or OnPlayerDisconnect? Or maybe both?
Thanks