15.04.2017, 14:59
Changed it to
and it compiled, but says Unknown Command and nothing pops up.
EDIT: same with this one...
PHP код:
CMD:ahelp(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid,COLOR_BLACK,"{00CCFF}[ADMIN] {FF0000}ERROR: {FFFFFF}You do not have access to this command");
ShowPlayerDialog(playerid, DIALOG_AHELP, DIALOG_STYLE_MSGBOX, "\\c{FF0000}NOTE: {FFFFFF} You do not have access to higher level commands if you are a lower level.\n\\cLevel {FFFF00}1{FFFFFF} Commands\n\\c/kick, /goto, /achat, /aduty, /ahelp\n\\cLevel {FFFF00}2{FFFFFF} Commands\n\\cN/A\n\\cLevel {FFFF00}3{FFFFFF} Commands\n\\c/ban, /givemoney\n\\cLevel {FFFF00}4{FFFFFF} Commands\n\\c/setscore\n\\cLevel {FFFF00}5{FFFFFF} Commands\n\\c/setadmin\n", "Close", "");
return 1;
}
EDIT: same with this one...
PHP код:
CMD:help(playerid,params[])
{
ShowPlayerDialog(playerid, DIALOG_HELP, DIALOG_STYLE_MSGBOX, "Help", "{FFFFFF}The objective of the game is to "COL_RED"kill"COL_WHITE" as many people around you as possible\n {FFFF00}[COMMANDS]{FFFFFF} /ranks, /myrank, /help, /admins, /stats\n {FFFF00}[COMMANDS]{FFFFFF} /pm, /weaponshop, /skin, /kill, /report", "Close", "");
return 1;
}