Scripting Problem
#1

Okay, so I have an error saying:
Код:
"invalid expression, assumed zero"
Here's what's on that line:
Код:
	ShowPlayerDialog(playerid, DIALOG_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", "");
Reply
#2

The problem not on that line,
Show the line before that line
Reply
#3

Код:
TextDrawShowForPlayer(playerid, gMyText);
Reply
#4

pawn Код:
ShowPlayerDialog(playerid, DIALOG_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", "");
There is no problem on that line
Reply
#5

Actually I have multiple errors, and warnings:
Код:
235	MW	73	"public function lacks forward declaration (symbol "SendMSG")"
217	MW	100	"loose indentation"
217	MW	113	"loose indentation"
029	MW	154	"invalid expression, assumed zero"
215	MW	154	"expression has no effect"
215	MW	154	"expression has no effect"
215	MW	154	"expression has no effect"
215	MW	154	"expression has no effect"
215	MW	154	"expression has no effect"
001	MW	154	"expected token: ";", but found ")""
029	MW	154	"invalid expression, assumed zero"
107	MW	154	"too many error messages on one line"
Though I defined it as:
#define DIALOG_SVRRULES

When I don't define it it says:
DIALOG_SVRRULES not defined

When I do I get those 4 errors...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)