#define DIALOG_RULES 11111 #define DIALOG_CMDS 22222 #define DIALOG_HELP 33333 #define DIALOG_DCMDS 44444
CMD:help(playerid,params[]) { ShowPlayerDialog(playerid,DIALOG_HELP,DIALOG_STYLE_MSGBOX,"Help:","-This a DM server, you have to help your team mates\nyour main objective is to defend desert airport and capture it and\nto take down your opposite team and capture thier zones, for more\nhelp use /cmds, also to know the rules use /rules, if you\nneed admin assistance use /helpme, /admins.\nIf you catch a hacker/rulebreaker don't mention it on main\nchat use /report [ID] [Reason] and let the staff team handle\nthe situation","OK",""); return 1; } CMD:cmds(playerid,params[]) { ShowPlayerDialog(playerid,DIALOG_CMDS,DIALOG_STYLE_MSGBOX,"Commands:","/register, /login,/help, /cmds,/spree,/shop,/w\nHelp use /cmds, also to know the rules use /rules, if you\nneed admin use /admins. need vips use /vips.\nFor animations type /animations\nDuel:/duel [id] [weapon] [price]\nDuel:/acceptduel\nDuel:/declineduel\nfor donators /dcmds","OK",""); return 1; } CMD:rules(playerid,params[]) { ShowPlayerDialog(playerid,DIALOG_RULES,DIALOG_STYLE_MSGBOX,"Rules:","-Respect your enemies and play with honor.\n-No insulting no swearing.\n-Team attacking and team killing isn't allowed!\n-Using hacks will lead to a direct ban.\n-Ban evading will lead to a perment ban.\n-Respect the staff team and obey them.","OK",""); return 1; }
pwn(12514) : error 075: input line too long (after substitutions) pwn(12515) : error 037: invalid string (possibly non-terminated string) pwn(12516) : warning 217: loose indentation pwn(12516) : warning 215: expression has no effect pwn(12516) : error 001: expected token: ";", but found ")" pwn(12516) : error 029: invalid expression, assumed zero pwn(12516) : warning 215: expression has no effect pwn(12517) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
#include <a_samp> #include <ZCMD> #define DIALOG_RULES 11111 #define DIALOG_CMDS 22222 #define DIALOG_HELP 33333 #define DIALOG_DCMDS 44444 CMD:help(playerid,params[]) { ShowPlayerDialog(playerid,DIALOG_HELP,DIALOG_STYLE _MSGBOX,"Help:","-This a DM server, you have to help your team mates\nyour main objective is to defend desert airport and capture it and\nto take down your opposite team and capture thier zones, for more\nhelp use /cmds, also to know the rules use /rules, if you\nneed admin assistance use /helpme, /admins.\nIf you catch a hacker/rulebreaker don't mention it on main\nchat use /report [ID] [Reason] and let the staff team handle\nthe situation","OK",""); return 1; } CMD:cmds(playerid,params[]) { ShowPlayerDialog(playerid,DIALOG_CMDS,DIALOG_STYLE _MSGBOX,"Commands:","/register, /login,/help, /cmds,/spree,/shop,/w\nHelp use /cmds, also to know the rules use /rules, if you\nneed admin use /admins. need vips use /vips.\nFor animations type /animations\nDuel:/duel [id] [weapon] [price]\nDuel:/acceptduel\nDuel:/declineduel\nfor donators /dcmds","OK",""); return 1; } CMD:rules(playerid,params[]) { ShowPlayerDialog(playerid,DIALOG_RULES,DIALOG_STYL E_MSGBOX,"Rules:","-Respect your enemies and play with honor.\n-No insulting no swearing.\n-Team attacking and team killing isn't allowed!\n-Using hacks will lead to a direct ban.\n-Ban evading will lead to a perment ban.\n-Respect the staff team and obey them.","OK",""); return 1; } |