Cmd Error / unknown command?
#2

try

PHP код:
COMMAND:applications(playeridparams[])
{
    if(
GetPVarInt(playerid"Admin") >= || IsPlayerAdmin(playerid))
    {
        new 
str[256];
        for(new 
1MAX_APPLICATIONSi++)
        {
            if(
ApplicationInfo[i][SentIn] == 1)
            {
                
format(strsizeof(str), "%s\n"ApplicationInfo[i][Name]);
            }
        }
        return 
ShowPlayerDialog(playeridApplicationsPickDIALOG_STYLE_LIST"Applications"str"View""Cancel");
    }
    else
    {
        
SendClientMessage(playeridCOLOR_RED"Server: You do not have permission to use this command.");
    }
    return 
1;

Reply


Messages In This Thread
Cmd Error / unknown command? - by TheLeech - 03.03.2017, 17:36
Respuesta: Cmd Error / unknown command? - by Eloy - 04.03.2017, 04:01

Forum Jump:


Users browsing this thread: 1 Guest(s)