02.03.2011, 22:48
pawn Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
if(source == 0)
{
if(PlayerIsJuniorAdmin(playerid))
{
//formatastring?
Admin[playerid][aActive] = 1;
Admin[playerid][aEdit] = clickedplayerid;
return ShowPlayerDialog(playerid, D_ADMIN, LIST, "Junior Administrator Menu", string, "Select", "Close");
}
}
return true;
}