pawn Код:
case DIALOG_CMDS:
{
if(response)
{
switch(listitem)
{
case 0:
{
strcat(string2, ""red"");
strcat(string2, "STUNTS: "grey"/lsa, /sfa, /skatepark, /sfpark, /aa, /chilliad\n");
strcat(string2, ""lightblue"");
strcat(string2, "ARENAS: "grey"/minigun, /sniper\n");
strcat(string2, ""orange"");
strcat(string2, "DRIFTINGS: "grey"/drift[parameter]\n");
ShowPlayerDialog(playerid, DIALOG_TELE, DIALOG_STYLE_MSGBOX, ""newb"Teleports", string2, "Back", "");
}
case 1:
{
LoginCheck(playerid);
if(User[playerid][accountAdmin] == 0)
{
SendClientMessage(playerid, -1, "» "red"You do not have permission to access this listitem.");
cmd_commands(playerid, "");
return 1;
}
strcat(string2, ""green"");
strcat(string2, "New Gaming Class Administrative Commands.\n\n");
if(User[playerid][accountAdmin] >= 1)
{
strcat(string2, ""lightblue"Moderator (Level 1)\n");
strcat(string2, ""white"");
strcat(string2, "/a, /ask, /adminduty, /toggleadmin, /clearchat, /jetpack, /startmb, /startcp, /reaction, /kick, /slap\n");
strcat(string2, "/startmath, /explode, /clearteleport, /(un)mute, /warn, /announce(ann), /jail, /reports, /goto\n");
strcat(string2, "/spec, /specoff, /muted\n\n");
}
if(User[playerid][accountAdmin] >= 2)
{
strcat(string2, ""lightblue"Admin (Level 2)\n");
strcat(string2, ""white"");
strcat(string2, "/giveweapon, /ban, /unban, /(un)mutecmd, /get, /remwarn, /disarm, /unjail, /ip, /spawn, /gotohouse\n");
strcat(string2, "/jailed, /cmuted, /heal, /akill\n\n");
}
if(User[playerid][accountAdmin] >= 3)
{
strcat(string2, ""lightblue"Head Admin (Level 3)\n");
strcat(string2, ""white"");
strcat(string2, "/givepp, /setvip, /random, /setinterior, /setworld, /oban, /respawnveh, /gotoco, /setname, /setskin\n");
strcat(string2, "/armour\n\n");
}
if(User[playerid][accountAdmin] >= 4)
{
strcat(string2, ""lightblue"Manager (Level 4)\n");
strcat(string2, ""white"");
strcat(string2, "/sethelper, /setscore, /setmoney, /fakechat, /addhouse, /hmove, /asellhouse, /hnear, /healall, /armourall\n");
strcat(string2, "/kickall, /gotohs\n\n");
}
if(User[playerid][accountAdmin] >= 5)
{
strcat(string2, ""lightblue"Owner (Level 5)\n");
strcat(string2, ""white"");
strcat(string2, "/vip, /setlevel, /setpremium, /removehouse, /fakecmd, /lockserver, /unlockserver, /hostname, /dhostname\n");
strcat(string2, "/seths");
}
ShowPlayerDialog(playerid, DIALOG_ACMDS, DIALOG_STYLE_MSGBOX, ""orange"Administrator Commands", string2, "Close", "");
}
case 2:
{
LoginCheck(playerid);
if(User[playerid][accountHelper] == 1 || User[playerid][accountAdmin] >= 1)
{
strcat(string2, ""green"");
strcat(string2, "New Gaming Class Helper Commands.\n\n");
strcat(string2, ""grey"Server Helper\n");
strcat(string2, ""white"");
strcat(string2, "/a, /ask, /kick, /slap, /explode\n\n");
ShowPlayerDialog(playerid, DIALOG_HCMDS, DIALOG_STYLE_MSGBOX, ""newb"Helper Commands", string2, "Close", "");
}
else
{
SendClientMessage(playerid, -1, "» "red"You do not have permission to access this listitem.");
cmd_commands(playerid, "");
return 1;
}
}
case 3:
{
strcat(string2, ""newb"");
strcat(string2, "New Gaming Class Player Commands.\n\n");
strcat(string2, ""white"");
strcat(string2, "/ask, /teles, /commands, /premiumshop, /god, /stats, /skin, /hidetd, /car(/v), /admins, /vips, /name\n");
strcat(string2, "/descp, /vget, /serverstats, /pm, /credits, /pcmds, /colors, /report, /mb, /hinteriors, /givemoney\n");
strcat(string2, "/cduel, /duel, /duelaccept, /rate, /keys, /help, /afk, /afks, /shop, /me, /af, (/myt)ime, (/myw)eather\n");
strcat(string2, "/spos, /lpos, /saveskin, /useskin, /dontuseskin, /kill, /radios, /moff, /musics, /getwet, /startwet\n");
strcat(string2, "/rules");
#if CHRISTMAS_SPIRIT == true
strcat(string2, "\n"lightred"Christmas Edition: "white"/snow");
#endif
ShowPlayerDialog(playerid, DIALOG_HCMDS, DIALOG_STYLE_MSGBOX, ""newb"Player Commands", string2, "Close", "");
}
case 4:
{
strcat(string2, ""newb"");
strcat(string2, "New Gaming Class Premium Commands.\n\n");
strcat(string2, ""white"");
strcat(string2, "JETPACK: /jetpack\n");
strcat(string2, "SUPER HANDBRAKE: /togglebrake - Press Y to activate the handbrake (Unless the /togglebrake is off)\n");
strcat(string2, "VIP: Visit the VIP item on /commands for the commands of it.\n");
strcat(string2, "NAMECHANGE: N/A - The changename dialog automatically appears.\n");
ShowPlayerDialog(playerid, DIALOG_HCMDS, DIALOG_STYLE_MSGBOX, ""newb"Premium Commands", string2, "Close", "");
}
case 5:
{
cmd_credits(playerid, "");
}
case 6:
{
cmd_hhcmds(playerid, "");
}
case 7:
{
cmd_keys(playerid, "");
}
case 8:
{
cmd_help(playerid, "");
}
case 9:
{
cmd_anims(playerid, "");
}
}
}
}