Quote:
Originally Posted by [B2K
Hustler ]
There was nothing wrong with you're code, well indented as well, only the formatting i guess. Anyways, its best if you change the data in the players file immediately after as well.
pawn Код:
AdminLvL[giveplayerid] = givelvl; // after this line put the next line in your command. dUserSetINT(ReturnPlayerName(giveplayerid)).("Adminlvl",AdminLvL[giveplayerid]);
|
i think i don't have to do it because the commands read from AdminLvL[playerid] not from the file... the file only gets loaded onplayerconnect... tell me if i've mistaken, but everything seems alright without adding that..