06.06.2012, 12:34
pawn Код:
COMMAND:leadercmds(playerid, params[])
{
if(PlayerInfo[playerid][pFaction] != 0 && PlayerInfo[playerid][pRank] == 13 || PlayerInfo[playerid][pRank] == 12)
{
new string[128];
format(string, sizeof(string), "Leader Commands\n\n/invite /uninvite /setrank /ranks\n/factionspawn /fchat /jobpermission");
ShowPlayerDialog(playerid, 99, DIALOG_STYLE_MSGBOX, "Info Box",string, "Ok","");
}
else
{
SendClientMessage(playerid, COLOR_LIGHTRED, "WARNING: You do not have access to this command.");
}
}
return 1;
}