Huh, warum wird mir Ingame kein Dialog angezeigt
CMD:acmds(playerid) {
new string[2048];
{
if(pData[playerid][P_Admin] < 1) return
SendClientMessage(playerid, COLOR_RED, LV_Fail);
}
if(pData[playerid][P_Admin] >= 1)
{
format(string, sizeof(string), "%s{FF8000}/mute /unmute /kick /watch /reports /fixvw\n", string);
}
if(pData[playerid][P_Admin] >= 2)
{
format(string, sizeof(string), "%s{FF8000}/ban /unban /searchban /cuffed /aka /clearchat /hide\n", string);
}
if(pData[playerid][P_Admin] >= 3)
{
format(string, sizeof(string), "%s{FF8000}/banoff /slap /explode /cuff /uncuff /startmap /randommap\n", string);
}
if(pData[playerid][P_Admin] >= 4)
{
format(string, sizeof(string), "%s{FF8000}/lastunbans /announce\n", string);
}
if(pData[playerid][P_Admin] >= 5)
{
format(string, sizeof(string), "%s{FF8000}/savepos /gotopos /setskin /jetpack /givegun /vehicle /givevehicle /silentmode\n", string);
}
if(pData[playerid][P_Admin] >= 6)
{
format(string, sizeof(string), "%s{FF8000}/website /clearaka /changename /lock /tpgun\n", string);
}
if(CheckAccesName(playerid))
{
format(string, sizeof(string), "%s{FF0000}/giveweed /setleveloff /setlevel /exitmode /forcecmd /fakechat", string);
}
ShowPlayerDialog(playerid, D_AdminCmds, DIALOG_STYLE_MSGBOX, "Admin Commands", "", "Close", "");
return 1;
}