Help here a bit?
#4

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;
}
EDIT:

1 minute late
Reply


Messages In This Thread
Help here a bit? - by N0FeaR - 06.06.2012, 12:32
Re: Help here a bit? - by tiernantheman - 06.06.2012, 12:34
Re: Help here a bit? - by blewert - 06.06.2012, 12:34
Re: Help here a bit? - by JaKe Elite - 06.06.2012, 12:35

Forum Jump:


Users browsing this thread: 1 Guest(s)