10.02.2013, 16:49
this is the command I added to LUXADMIN:
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
to see if the command works and the word "test" does appear.
PHP код:
if (strcmp("/vcmds", cmdtext, true, 10) == 0)
{
if(AccInfo[playerid][pVip] >=1)
{
SendClientMessage(playerid,red,"test");
ShowPlayerDialog(playerid, DIALOG_VCMDS, DIALOG_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;
}
can someone tell me why
By the way added the line
PHP код:
SendClientMessage(playerid,red,"test");