28.10.2013, 12:00
I think I understood. You want to set that player's admin level to the value of inputtext, right?
I check if the player is connected to prevent runtime errors.
pawn Код:
if(IsPlayerConnected(ChosenPlayer[playerid]) PlayerInfo[ChosenPlayer[playerid]][pAdmin] = strval(inputtext);