27.12.2012, 01:39
So my compiler says this:
I have the following on the line of the error:
When I don't define it it says "SVRRULES Undefines"
When I define it I get the errors listed above...
Here's how I defined it:
Anyone see any mistakes?
Код:
C:\Users\Zach\Documents\MW\MW.pwn(73) : warning 235: public function lacks forward declaration (symbol "SendMSG") C:\Users\Zach\Documents\MW\MW.pwn(100) : warning 217: loose indentation C:\Users\Zach\Documents\MW\MW.pwn(113) : warning 217: loose indentation C:\Users\Zach\Documents\MW\MW.pwn(154) : error 029: invalid expression, assumed zero C:\Users\Zach\Documents\MW\MW.pwn(154) : warning 215: expression has no effect C:\Users\Zach\Documents\MW\MW.pwn(154) : warning 215: expression has no effect C:\Users\Zach\Documents\MW\MW.pwn(154) : warning 215: expression has no effect C:\Users\Zach\Documents\MW\MW.pwn(154) : warning 215: expression has no effect C:\Users\Zach\Documents\MW\MW.pwn(154) : warning 215: expression has no effect C:\Users\Zach\Documents\MW\MW.pwn(154) : error 001: expected token: ";", but found ")" C:\Users\Zach\Documents\MW\MW.pwn(154) : error 029: invalid expression, assumed zero C:\Users\Zach\Documents\MW\MW.pwn(154) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
ShowPlayerDialog(playerid, SVRRULES, DIALOG_STYLE_MSGBOX, "Server Rules", "You must agree with these rules.\n1. Do not team kill\n2. Do not base rape\n3. Do not spawn kill\n4. You will respect all users\n5. You will not use any kind of hack\n6. You will not advertise anything on our server\n7. You will follow these rules, and if not get banned.", "Close", "");
When I define it I get the errors listed above...
Here's how I defined it:
Код:
#define SVRRULES