LuxAdmin and a NEW command
#1

this is the command I added to LUXADMIN:
PHP код:
if (strcmp("/vcmds"cmdtexttrue10) == 0)
    {
        if(
AccInfo[playerid][pVip] >=1)
        {
            
SendClientMessage(playerid,red,"test");
            
ShowPlayerDialog(playeridDIALOG_VCMDSDIALOG_STYLE_LIST"{FF0000}V.I.P. Commands""V.I.P. Level 1 Commands \n V.I.P. Level 2 Commands \n V.I.P. Level 3 Commands""Select""Close");
        }
        else return 
ErrorMessages(playerid,11);
        return 
1;
    } 
the DIALOG does not show up and I don't know why(IT IS ALREADY DEFINED).

can someone tell me why

By the way added the line
PHP код:
SendClientMessage(playerid,red,"test"); 
to see if the command works and the word "test" does appear.
Reply
#2

anyone please!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)