Dialog Problem
#1

So my compiler says this:
Код:
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.
I have the following on the line of the error:
Код:
	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 don't define it it says "SVRRULES Undefines"
When I define it I get the errors listed above...

Here's how I defined it:
Код:
#define SVRRULES
Anyone see any mistakes?
Reply


Messages In This Thread
Dialog Problem - by DJTunes - 27.12.2012, 01:39
Re: Dialog Problem - by Buzzbomb - 27.12.2012, 01:44
Re: Dialog Problem - by DJTunes - 27.12.2012, 01:47
Re: Dialog Problem - by Buzzbomb - 27.12.2012, 01:55
Re: Dialog Problem - by DJTunes - 27.12.2012, 02:00
Re: Dialog Problem - by Buzzbomb - 27.12.2012, 02:04
Re: Dialog Problem - by DJTunes - 27.12.2012, 02:10
Re: Dialog Problem - by Buzzbomb - 27.12.2012, 02:14

Forum Jump:


Users browsing this thread: 1 Guest(s)