PHP код:
#define DIALOG_COMMANDS 1
CMD:commands(playerid, params[])
{
new string[1050];
format(string,sizeof(string), "%s{FFFFFF}Register: /register [password]\n", string);
format(string,sizeof(string), "%s{FFFFFF}Change your password: /changepass [new password]\n", string);
format(string,sizeof(string), "%s{FFFFFF}Server rules: /rules\n", string);
format(string,sizeof(string), "%s{FFFFFF}To report a player: /report [playerid] [reason]\n", string);
format(string,sizeof(string), "%s{FFFFFF}Your inventory: /inventory\n", string);
format(string,sizeof(string), "%s{FFFFFF}Stats: /stats or /stats [ID]\n", string);
format(string,sizeof(string), "%s{FFFFFF}Reset your stats (kills and deaths) /resetstats\n", string);
format(string,sizeof(string), "%s{FFFFFF}Online Admins: /admins | Server staffs: /serverstaffs\n", string);
format(string,sizeof(string), "%s{FFFFFF}Scripters: /scripters\n", string);
format(string,sizeof(string), "%s{FFFFFF}Slap a player: /slap [playerid] [reason]\n", string);
format(string,sizeof(string), "%s{FFFFFF}To commit suicide: /kill\n", string);
format(string,sizeof(string), "%s{FFFFFF}To have sex with another player type /sex\n", string);
format(string,sizeof(string), "%s{FFFFFF}Fix your house, business and cars: /playerfix [ID]\n", string);
format(string,sizeof(string), "%s{FFFFFF}Morning: /morning | Night: /night | /time | /fstyles | /class\n", string);
format(string,sizeof(string), "%s{FFFFFF}Duel: /duel | /countdown\n", string);
format(string,sizeof(string), "%s{FFFFFF}Laser: /laseron | /laseroff | /lasercol\n", string);
format(string,sizeof(string), "%s{FFFF00}Chat Commands\n", string);
format(string,sizeof(string), "%s{FFFFFF}To talk about yourself: /me | To Whisper to people in your vehicle: /cw\n\n", string);
format(string,sizeof(string), "%s{FFFFFF}Buy a skin by typing /buyskin\n", string);
format(string,sizeof(string), "%s{FFFFFF}To see the list of your vehicles or player vehicle, use /cars or /cars [ID]\n\n", string);
format(string,sizeof(string), "%s{FFFFFF}To see the list of people who contributed to the script, type /credits", string);
ShowPlayerDialog(playerid, DIALOG_COMMANDS, DIALOG_STYLE_MSGBOX, "{FFFF00}General Commands{FFFFFF}", string, "Ok", "");
return 1;
}