CMD:rules(playerid, params[])
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Server Rules", "1. No insulting or disrespecting other players\n2. No spamming anything in any way\n3. No ramming or blocking other players\n4. No farming anything in anyway.\n5. Do not say any jokes that may have a negative affect on others.\n6. No advertising allowed in all chats\n7. No mods that benefit anything and anyone are allowed\n8. No cheats, including hacks of any kind, are allowed.\nFor any explanation on all these rules please visit our website\nwww.websitegoeshere.com", "Agree", "");
return 1;
}
C:\Users\myuser\Desktop\Misc\Server\gamemodes\test.pwn(143) : error 075: input line too long (after substitutions)
C:\Users\myuser\Desktop\Misc\Server\gamemodes\test.pwn(144) : error 037: invalid string (possibly non-terminated string)
C:\Users\myuser\Desktop\Misc\Server\gamemodes\test.pwn(144) : warning 215: expression has no effect
C:\Users\myuser\Desktop\Misc\Server\gamemodes\test.pwn(144) : error 001: expected token: ";", but found "."
C:\Users\myuser\Desktop\Misc\Server\gamemodes\test.pwn(144) : error 029: invalid expression, assumed zero
C:\Users\myuser\Desktop\Misc\Server\gamemodes\test.pwn(144) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
CMD:rules(playerid, params[])
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Server Rules",
"1. No insulting or disrespecting other players\n\
2. No spamming anything in any way\n\
3. No ramming or blocking other players\n\
4. No farming anything in anyway.\n\
5. Do not say any jokes that may have a negative affect on others.\n\
6. No advertising allowed in all chats\n\
7. No mods that benefit anything and anyone are allowed\n\
8. No cheats, including hacks of any kind, are allowed.\n\
For any explanation on all these rules please visit our website\n\
www.websitegoeshere.com", "Agree", "");
return 1;
}
pawn Code:
|
CMD:rules(playerid, params[]) { new string[500]; format(string, sizeof(string), "1. No insulting or disrespecting other players\n2. No spamming anything in any way\n3. No ramming or b"); format(string, sizeof(string), "%slocking other players\n4. No farming anything in anyway.\n5. Do not say any jokes that may have a n", string); format(string, sizeof(string), "%segative affect on others.\n6. No advertising allowed in all chats\n7. No mods that benefit anything", string); format(string, sizeof(string), "%s and anyone are allowed\n8. No cheats, including hacks of any kind, are allowed.\nFor any explanati", string); format(string, sizeof(string), "%son on all these rules please visit our website\nwww.websitegoeshere.com", string); ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Server Rules", string, "Agree", ""); return 1; }
pawn Code:
|
Code:
CMD:rules(playerid, params[]) { new string[500]; format(string, sizeof(string), "1. No insulting or disrespecting other players\n2. No spamming anything in any way\n3. No ramming or b"); format(string, sizeof(string), "%slocking other players\n4. No farming anything in anyway.\n5. Do not say any jokes that may have a n", string); format(string, sizeof(string), "%segative affect on others.\n6. No advertising allowed in all chats\n7. No mods that benefit anything", string); format(string, sizeof(string), "%s and anyone are allowed\n8. No cheats, including hacks of any kind, are allowed.\nFor any explanati", string); format(string, sizeof(string), "%son on all these rules please visit our website\nwww.websitegoeshere.com", string); ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Server Rules", string, "Agree", ""); return 1; } |