29.10.2013, 03:35
Quote:
Like This ?
pawn Код:
pawn Код:
Код:
#include <zcmd> Код:
case 0: { //Selected Item: "{FF0000}Test Dialog 1" } case 1: { cmd_yourcommandname } |
Код:
CommandsDialog(playerid, title[]) // --- Commands Dialog --- // { new string[2048]; strcat(string, "\ /Accept\t\t\t- Accept a duel request\n\ {3C3B3D}________________________________________________________________________\n\ /Buy\t\t\t- Buy a property\n\ {3C3B3D}________________________________________________________________________\n\ /Calc\t\t\t- Calculator\n\ {3C3B3D}________________________________________________________________________\n\ /Carchase\t\t- Locate the Carchase vehicle\n\ {3C3B3D}________________________________________________________________________\n\ "); strcat(string, "\ /Carcolor\t\t- Change your car color\n\ {3C3B3D}________________________________________________________________________\n\ /Chance\t\t- Take a chance\n\ {3C3B3D}________________________________________________________________________\n\ /Color\t\t\t- Change your color\n\ {3C3B3D}________________________________________________________________________\n\ /Deny\t\t\t- Deny a duel request\n\ {3C3B3D}________________________________________________________________________\n\ "); strcat(string, "\ /DM\t\t\t- See a list of Deathmatches\n\ {3C3B3D}________________________________________________________________________\n\ /Duel\t\t\t- Duel a player\n\ {3C3B3D}________________________________________________________________________\n\ /Eject\t\t\t- Eject a player from your vehicle\n\ {3C3B3D}________________________________________________________________________\n\ /Fs\t\t\t- Change your fighting style\n\ "); strcat(string, "\ {3C3B3D}________________________________________________________________________\n\ /Getid\t\t\t- Get a players ID\n\ {3C3B3D}________________________________________________________________________\n\ /Goto\t\t\t- Teleport to a player\n\ {3C3B3D}________________________________________________________________________\n\ /Jetpack\t\t- Get a jackpack\n\ {3C3B3D}________________________________________________________________________\n\ "); strcat(string, "\ /Join\t\t\t- Join a race\n\ {3C3B3D}________________________________________________________________________\n\ /Loadpos\t\t- Load your saved position\n\ {3C3B3D}________________________________________________________________________\n\ /Lock\t\t\t- Lock your vehicles doors\n\ {3C3B3D}________________________________________________________________________\n\ /Myprops\t\t- See a list of properties you own\n\ "); strcat(string, "\ {3C3B3D}________________________________________________________________________\n\ /Nitro\t\t\t- Toggle nitro On / Off\n\ {3C3B3D}________________________________________________________________________\n\ /Para\t\t\t- Get a parachute\n\ {3C3B3D}________________________________________________________________________\n\ /Pay\t\t\t- Give a player some of your money\n\ {3C3B3D}________________________________________________________________________\n\ /PM\t\t\t- Send a private message\n\ "); ShowPlayerDialog(playerid, Cmds_Dialog, MSGBOX, title, string, "Next", "Close"); return 1; }