#define XVip1 String1 #define XVip2 String2 #define XVip3 String3
CMD:vipcommands(playerid, params[]) { if (Vip[playerid] >= 1) { new VIP1[]="{FF4101}Bronze V.I.P Commands:\n\ /vheal - Fulls your Health \n\ /varmour - Fulls your Armour \n\ /vtunecmds - Shows a list of the tune Commands \n\ /vnos - Adds Nitro to your vehicle \n\ /vcolor - Changes your name's colour (TAB) \n\ /vcarcolor - Changes your vehicle's colour \n\ /vtune - Tunes your vehicle \n\ /vuntune - Remove all the tunes from your vehicle\n\n\n\n", VIP2[]="{FA0404}Silver V.I.P Commands:\n\ /vcar - Spawns the VIP Car \n\ /vheli - Spawns the VIP Heli \n\ /vboat - Spawns the VIP Boat \n\ /vplane - Spawns the VIP Plane \n\ /vweather - Changes your weather \n\ /visland - Teleports you to the VIP Island \n\ /vsay - You say something as an VIP Member \n\ /vtune - Tunes your vehicle \n\ /vuntune - Remove all the tunes from your vehicle \n\ /vdick - Adds the well-known Dildo toy on you \n\n\n\n", VIP3[]="{2CF11A}Gold V.I.P Commands\n\ /vannounce - Announces what you say as an VIP \n\ /vshop - Boots up the VIP Shop dialogue \n\ /vheli - Spawns the VIP Heli \n\ /vplane - Spawns the VIP Plane \n\ /vfeature - Displays the VIP Features \n\ /varmour - Fulls your amour \n\ /vgodcar - Makes your car invunerable \n\ /vgoto - Teleports you to a player\n\n\n\, VIP4[]="{2CF11A}Plantinum V.I.P Commands\n\ -Personal Exotic Car \n\ -Custom Mapped House \n\ -Priority on /report \n\ -500.000 Virtual Cash (In-game) \n\ vcmds[1600]; format( vcmds, sizeof vcmds, "%s%s%s%s%s", VIP1, VIP2, VIP3, VIP4); Vcmds(playerid, V.I.PCmds, xBox, "V.I.P Commands", vcmds, "Ok", "" ); } return 1; }
Код:
#define XVip1 String1 #define XVip2 String2 #define XVip3 String3 |
#define XVip1 String1
#define XVip2 String2
#define XVip3 String3
#define XVip4 String4
#define Grey 0xC0C0C0FF #define COLOR_YELLOW2 0xF5DEB3AA #define COLOR_NICERED 0xFF0000FF #define COLOR_SUPERGREEN 0xFF01FF #define COLOR_MODRA 0x0088FFFF #define xBox DIALOG_STYLE_MSGBOX #define COLOR_HNEDA 0x993300AA #define COLOR_0000 0x0000FFAA #define DIALOG_REGISTER 1 #define DIALOG_LOGIN 2 #define DIALOG_SUCCESS_1 3 #define DIALOG_SUCCESS_2 4 #define COLOR_SYSTEM 0xEFEFF7AA #define COLOR_BLUE 0x0000FFAA #define COLOR_GREY 0xAFAFAFAA #define COLOR_RED 0xFF0000AA #define COLOR_YELLOW 0xFFFF00AA #define vipcommands ShowPlayerDialog #define COLOR_WHITE 0xFFFFFFAA #define COLOR_PURPLE 0x9900FFAA #define COL_OGREEN "{FFAF00}" #define COL_ERROR "{FF0202}" #define COL_USAGE "{DFDFDF}" #define TAG[SRC] "{FFBF00}" #define COL_EASY "{FFF1AF}" #define COL_WHITE "{FFFFFF}" #define COL_BLACK "{0E0101}" #define COL_GREY "{C3C3C3}" #define V.I.PCmds 29 #define COL_GREEN "{6EF83C}" #define COL_RED "{F81414}" #define COL_YELLOW "{F3FF02}" #define COL_ORANGE "{FFA1A1}" #define COL_INDIGO "{8B008B}" #define COL_LIME "{B7FF00}" #define COL_CYAN "{00FFEE}" #define COL_LIGHTBLUE "{C9FFAB}" #define CLB "{FFAF00}" #define COL_BLUE "{0049FF}" #define COL_MAGENTA "{F300FF}" #define COL_VIOLET "{B700FF}" #define COL_PINK "{FF00EA}" #define COL_MARONE "{A90202}" #define COL_CMD "{B8FF02}" #define COL_PARAM "{3FCD02}" #define COL_SERVER "{AFE7FF}" #define COL_VALUE "{FF8E02}" #define COL_RULE "{FFDE02}" #define COL_RULE2 "{FBDF89}" #define COL_RWHITE "{FFFFFF}" #define COL_LGREEN "{C9FFAB}" #define COL_LRED "{FFA1A1}" #define COL_WHITE "{FFFFFF}" #define COL_RED "{F81414}" #define COL_LRED2 "{C77D87}" #define SERVER "{0E0101}[{AFE7FF}SERVER{0E0101}]{FFFFFF}:" #define COL_TRASH "{ACD59D}" #define COLOR_BROWN 0x993300AA #define COLOR_ORANGE 0xFF9933AA #define COLOR_CYAN 0x99FFFFAA #define COLOR_PINK 0xFF66FFAA #define COLOR_KHAKI 0x999900AA #define COLOR_LIME 0x99FF00AA #define Bronze String1 #define Silver String2 #define Gold String3 #define Plantinum String4 #define vipcommands StringF #define COLOR_BLACK 0x000000AA #define COLOR_WHITE 0xFFFFFFAA #define COLOR_GAMES 0xFFFFFFAA #define blue 0x375FFFFF #define red 0xFF0000AA #define green 0x33FF33AA #define yellow 0xFFFF00AA #define COLOR_GREY 0xAFAFAFAA #define COLOR_GREEN 0x33AA33AA #define COLOR_YELLOW 0xFFFF00AA #define COLOR_WHITE 0xFFFFFFAA #define COLOR_LIME 0x99FF00AA #define COLOR_LIGHTYELLOW 0xFAEAA9FF #define COLOR_LIGHTGREEN 0x5BC476FF #define COLOR_LIGHTORANGE 0xF7A26FFF #define PATH "/Users/%s.ini" #define COLOR_LIGHTRED 0xFF6A6AFF #define COLOR_VIP 0xDDD100FF #define MAX_FAIL_LOGINS 3
CMD:vipcommands(playerid, params[]) { if (Vip[playerid] >= 1) { new Bronze[]="{FF4101}Bronze V.I.P Commands:\n\ /vheal - Fulls your Health \n\ /varmour - Fulls your Armour \n\ /vtunecmds - Shows a list of the tune Commands \n\ /vnos - Adds Nitro to your vehicle \n\ /vcolor - Changes your name's colour (TAB) \n\ /vcarcolor - Changes your vehicle's colour \n\ /vtune - Tunes your vehicle \n\ /vuntune - Remove all the tunes from your vehicle\n\n\n\n", Silver[]="{FA0404}Silver V.I.P Commands:\n\ /vcar - Spawns the VIP Car \n\ /vheli - Spawns the VIP Heli \n\ /vboat - Spawns the VIP Boat \n\ /vplane - Spawns the VIP Plane \n\ /vweather - Changes your weather \n\ /visland - Teleports you to the VIP Island \n\ /vsay - You say something as an VIP Member \n\ /vtune - Tunes your vehicle \n\ //1215 /vuntune - Remove all the tunes from your vehicle \n\ //1216 /vdick - Adds the well-known Dildo toy on you \n\n\n\n", Gold[]="{2CF11A}Gold V.I.P Commands\n\ /vannounce - Announces what you say as an VIP \n\ /vshop - Boots up the VIP Shop dialogue \n\ /vheli - Spawns the VIP Heli \n\ /vplane - Spawns the VIP Plane \n\ /vfeature - Displays the VIP Features \n\ /varmour - Fulls your amour \n\ /vgodcar - Makes your car invunerable \n\ /vgoto - Teleports you to a player\n\n\n\, Plantinum[]="{2CF11A}Plantinum V.I.P Commands\n\ -Personal Exotic Car \n\ -Custom Mapped House \n\ -Priority on /report \n\ -500.000 Virtual Cash (In-game) \n\ vipcommands[1600]; format( vipcommands, sizeof vipcommands, "%s%s%s%s%s", Bronze, Silver, Gold, Plantinum); vipcommands(playerid, V.I.PCmds, xBox, "VIPCommands", vipcommands, "Ok", "" ); } return 1; }
warning 219: local variable "b1" shadows a variable at a preceding level 123) : warning 219: local variable "b2" shadows a variable at a preceding level (123) : warning 219: local variable "b3" shadows (83) : warning 201: redefinition of constant/macro (symbol "vipcommands") (1215) : error 075: input line too long (after (1216) : error 017: undefined symbol "FA0404" (1216) : warning 217: loose indentation (1216) : error 017: undefined symbol "Silver" (1216) : error 017: undefined symbol "V" (1216) : fatal error 107: too many error messages on one line