07.03.2018, 19:55
did you reset the enum or variable because the server for example thinks you're still id 0 all the time unless you reset all vars on disconnect so it doesnt read old data
temporary solution for this is
OnPlayerDisconnect(playerid)
{
pInfo[playerid][Admin] = 0;
return 1;
}
for means for all users with the playerid = playerid (e.g. 0), it will reset it to 0 so if another player comes on with playerid of 0, their admin level will be 0 since the previous player (with id) disconnected and the server set it to 0.
temporary solution for this is
OnPlayerDisconnect(playerid)
{
pInfo[playerid][Admin] = 0;
return 1;
}
for means for all users with the playerid = playerid (e.g. 0), it will reset it to 0 so if another player comes on with playerid of 0, their admin level will be 0 since the previous player (with id) disconnected and the server set it to 0.