pawn Код:
YCMD:help(playerid,params[],help)
{
new string[528];
switch (pInfo[playerid][Adminlevel])
{
case 0:
{
format(string, sizeof(string),"|***Server Commands***|\n\n[ /Rules] [ /ServerFeatures ] [ /Credits ] [ /Admins ] [ /Report ]\n\n|***Chat Commands***|\n\n[ /G(Text) ]\n\n|***Team Commands***|\n\n[ /Teams ] [ /MyTeam ] [ /ChangeTeam ]\n\n|***Player Commands***|\n\n[ /Stats ] [ /Pm ] [ /Kill ] [/Pay] [ /Shop ]\n\n|***Radio Commands***|\n\n[ /RadioHelp ] [ /SetRadio ]\n\n");
ShowPlayerDialog(playerid,COMMANDS_DIALOG, DIALOG_STYLE_MSGBOX, ""COL_BLUE"Sniper War Commands",Commands, "OK", "");
}
case 1:
{
format(string, sizeof(string),"|***Server Commands***|\n\n[ /Rules] [ /ServerFeatures ] [ /Credits ] [ /Admins ] [ /Report ]\n\n|***Chat Commands***|\n\n[ /G(Text) ]\n\n|***Team Commands***|\n\n[ /Teams ] [ /MyTeam ] [ /ChangeTeam ]\n\n|***Player Commands***|\n\n[ /Stats ] [ /Pm ] [ /Kill ] [/Pay] [ /Shop ]\n\n|***Radio Commands***|\n\n[ /RadioHelp ] [ /SetRadio ]\n\n|***Admin LvL 1 Commands***|\n\n[ #(Text) ] [ /GetIp ] [ /Warn ] [ /Heal ] [ /Get ]\n\n[ /Goto ] [ /Armour ] [ /Ann ] [ /Fix ] [ /Flip ] [ /PlayerInfo ]\n\n");
ShowPlayerDialog(playerid,COMMANDS_DIALOG, DIALOG_STYLE_MSGBOX, ""COL_BLUE"Sniper War Commands",Commands1, "OK", "Cancel");
}
case 2:
{
format(string, sizeof(string),"|***Server Commands***|\n\n[ /Rules] [ /ServerFeatures ] [ /Credits ] [ /Admins ] [ /Report ]\n\n|***Chat Commands***|\n\n[ /G(Text) ]\n\n|***Team Commands***|\n\n[ /Teams ] [ /MyTeam ] [ /ChangeTeam ]\n\n|***Player Commands***|\n\n[ /Stats ] [ /Pm ] [ /Kill ] [/Pay] [ /Shop ]\n\n|***Radio Commands***|\n\n[ /RadioHelp ] [ /SetRadio ]\n\n|***Admin LvL 1 Commands***|\n\n[ #(Text) ] [ /GetIp ] [ /Warn ] [ /Heal ] [ /Get ]\n\n[ /Goto ] [ /Armour ] [ /Ann ] [ /Fix ] [ /Flip ] [ /PlayerInfo ]\n\n|***Admin LvL 2 Commands***|\n\n[ /Banwarn ] [ /Kick ] [ /Cchat ] [ /Sethealth ] [ /Givemoney ]\n\n[ /Burn ] [ /Mute ] [ /Unmute ] [ /Armour ] [ /Setweather ] [ /Settime ]\n\n", sizeof(Commands2));
ShowPlayerDialog(playerid,COMMANDS_DIALOG, DIALOG_STYLE_MSGBOX, ""COL_BLUE"Sniper War Commands",Commands2, "OK", "Cancel");
}
case 3:
{
format(string, sizeof(string),"|***Server Commands***|\n\n[ /Rules] [ /ServerFeatures ] [ /Credits ] [ /Admins ] [ /Report ]\n\n|***Chat Commands***|\n\n[ /G(Text) ]\n\n|***Team Commands***|\n\n[ /Teams ] [ /MyTeam ] [ /ChangeTeam ]\n\n|***Player Commands***|\n\n[ /Stats ] [ /Pm ] [ /Kill ] [/Pay] [ /Shop ]\n\n|***Radio Commands***|\n\n[ /RadioHelp ] [ /SetRadio ]\n\n|***Admin LvL 1 Commands***|\n\n[ #(Text) ] [ /GetIp ] [ /Warn ] [ /Heal ] [ /Get ]\n\n[ /Goto ] [ /Armour ] [ /Ann ] [ /Fix ] [ /Flip ] [ /PlayerInfo ]\n\n|***Admin LvL 2 Commands***|\n\n[ /Banwarn ] [ /Kick ] [ /Cchat ] [ /Sethealth ] [ /Givemoney ]\n\n[ /Burn ] [ /Mute ] [ /Unmute ] [ /Armour ] [ /Setweather ] [ /Settime ]\n\n|***Admin LvL 3 Commands***|\n\n[ /Ban ] [ /Explode ] [ /Setscore ] [ /Slap ] [ /Setskin ] [ /Setarmour ] [ /Giveweap ] [ /Disarm ] [ /Healall ] [ /Armourall ] [ /Freeze ] [ /Unfreeze ]\n\n");
ShowPlayerDialog(playerid,COMMANDS_DIALOG, DIALOG_STYLE_MSGBOX, ""COL_BLUE"Sniper War Commands",Commands3, "OK", "Cancel");
}
case 4:
{
format(string, sizeof(string),"|***Server Commands***|\n\n[ /Rules] [ /ServerFeatures ] [ /Credits ] [ /Admins ] [ /Report ]\n\n|***Chat Commands***|\n\n[ /G(Text) ]\n\n|***Team Commands***|\n\n[ /Teams ] [ /MyTeam ] [ /ChangeTeam ]\n\n|***Player Commands***|\n\n[ /Stats ] [ /Pm ] [ /Kill ] [/Pay] [ /Shop ]\n\n|***Radio Commands***|\n\n[ /RadioHelp ] [ /SetRadio ]\n\n|***Admin LvL 1 Commands***|\n\n[ #(Text) ] [ /GetIp ] [ /Warn ] [ /Heal ] [ /Get ]\n\n[ /Goto ] [ /Armour ] [ /Ann ] [ /Fix ] [ /Flip ] [ /PlayerInfo ]\n\n|***Admin LvL 2 Commands***|\n\n[ /Banwarn ] [ /Kick ] [ /Cchat ] [ /Sethealth ] [ /Givemoney ]\n\n[ /Burn ] [ /Mute ] [ /Unmute ] [ /Armour ] [ /Setweather ] [ /Settime ]\n\n|***Admin LvL 3 Commands***|\n\n[ /Ban ] [ /Explode ] [ /Setscore ] [ /Slap ] [ /Setskin ] [ /Setarmour ] [ /Giveweap ] [ /Disarm ] [ /Healall ] [ /Armourall ] [ /Freeze ] [ /Unfreeze ]\n\n|***Admin LvL 4 Commands***|\n\n[ /Akill ] [ /Resetscore ] [ /Resetmoney ]\n\n");
ShowPlayerDialog(playerid,COMMANDS_DIALOG, DIALOG_STYLE_MSGBOX, ""COL_BLUE"Sniper War Commands",Commands4, "OK", "Cancel");
}
case 5:
{
format(string, sizeof(string),"|***Server Commands***|\n\n[ /Rules] [ /ServerFeatures ] [ /Credits ] [ /Admins ] [ /Report ]\n\n|***Chat Commands***|\n\n[ /G(Text) ]\n\n|***Team Commands***|\n\n[ /Teams ] [ /MyTeam ] [ /ChangeTeam ]\n\n|***Player Commands***|\n\n[ /Stats ] [ /Pm ] [ /Kill ] [/Pay] [ /Shop ]\n\n|***Radio Commands***|\n\n[ /RadioHelp ] [ /SetRadio ]\n\n|***Admin LvL 1 Commands***|\n\n[ #(Text) ] [ /GetIp ] [ /Warn ] [ /Heal ] [ /Get ]\n\n[ /Goto ] [ /Armour ] [ /Ann ] [ /Fix ] [ /Flip ] [ /PlayerInfo ]\n\n|***Admin LvL 2 Commands***|\n\n[ /Banwarn ] [ /Kick ] [ /Cchat ] [ /Sethealth ] [ /Givemoney ]\n\n[ /Burn ] [ /Mute ] [ /Unmute ] [ /Armour ] [ /Setweather ] [ /Settime ]\n\n|***Admin LvL 3 Commands***|\n\n[ /Ban ] [ /Explode ] [ /Setscore ] [ /Slap ] [ /Setskin ] [ /Setarmour ] [ /Giveweap ] [ /Disarm ] [ /Healall ] [ /Armourall ] [ /Freeze ] [ /Unfreeze ]\n\n|***Admin LvL 4 Commands***|\n\n[ /Akill ] [ /Resetscore ] [ /Resetmoney ]\n\n|***Admin LvL 5 Commands***|\n\n[ /Setadmin ] [ /Makevip ]\n\n");
ShowPlayerDialog(playerid,COMMANDS_DIALOG, DIALOG_STYLE_MSGBOX, ""COL_BLUE"Sniper War Commands",Commands5, "OK", "Cancel");
}
}
return 1;
}