Invalid String (+rep)
#1

I'm getting these errors while compiling my script:

PHP код:
\filterscripts\Information.pwn(48) : error 037invalid string (possibly non-terminated string)
\
filterscripts\Information.pwn(48) : warning 215expression has no effect
\filterscripts\Information.pwn(48) : error 001expected token";"but found ")"
\filterscripts\Information.pwn(48) : error 029invalid expressionassumed zero
\filterscripts\Information.pwn(48) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Line 48:
PHP код:
INFOLINK TextDrawCreate(502.5000000.000000""WEBURL_SERVER""); 
Reply
#2

Show us the "WEBURL_SERVER" define
Reply
#3

No need for the "" ""
Reply
#4

Here:
PHP код:
#define WEBURL_SERVER "maximum-community.co.za 
Reply
#5

#define WEBURL_SERVER "maximum-community.co.za"

You forgot the other double quote.
Reply
#6

Quote:

#define WEBURL_SERVER "maximum-community.co.za"
You forgot the " ?
Reply
#7

Yea, I realized that now, thanks guys +rep u both
Reply
#8

You forget to add the "" in the define xD
Reply
#9

Though there's no need for the "" "":

Quote:

TextDrawCreate(502.500000, 0.000000, WEBURL_SERVER);

Reply
#10

Quote:
Originally Posted by iLearner
Посмотреть сообщение
Though there's no need for the "" "":
I prefer it with the "", looks more optimized i guess?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)