Help! 4 Errors!
#1

Can somebody help me
I have utils in my include folder, but i have 4 Errors:

D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(3) : error 017: undefined symbol "strlen"
D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(3) : error 036: empty statement
D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(3) : error 017: undefined symbol "i"
D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(3) : fatal error 107: too many error messages on one line
Reply
#2

Post the error lines.
Reply
#3

дhm what??
I cant compile includes....

//Edit: Ahhh I know what you mean: No i compile my Game Mode!
Look at the first message^^
Lines in include: 1,3,3,3,3

Can somebody help me?
Reply
#4

Quote:
Originally Posted by DX[BoSs
]
дhm what??
I cant compile includes....

//Edit: Ahhh I know what you mean: No i compile my Game Mode!
Look at the first message^^
Lines in include: 1,3,3,3,3

Can somebody help me?
We don't know what those lines say...
Reply
#5

Forgot these lines
Read only my first Post!!!

I hope, somebody can help me!
Reply
#6

Quote:
Originally Posted by DX[BoSs
]
Forgot these lines
Read only my first Post!!!

I hope, somebody can help me!
-.-....

dude, copy and paste the lines from GAMEMODE so than we can see whats the prob.

copy the lines wich are writed in ()



D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(3) : error 017: undefined symbol "strlen"
D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(3) : error 036: empty statement
D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(3) : error 017: undefined symbol "i"
D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(3) : fatal error 107: too many error messages on one line
Reply
#7

DO NOT EVER compile *.inc files. You'd compile only *.pwn files
Reply
#8

I dont compile includes!!!
I only compile pwn files!!!!

Here the Lines in utils (thats not all lines)

IsNumeric(const string[])
{
for (new i = 0, j = strlen(string); i < j; i++)
{
if (string[i] > '9' || string[i] < '0') return 0;
}
return 1;
}
Reply
#9

Quote:
Originally Posted by DX[BoSs
]
Can somebody help me
I have utils in my include folder, but i have 4 Errors:

D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(3) : error 017: undefined symbol "strlen"
D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(3) : error 036: empty statement
D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(3) : error 017: undefined symbol "i"
D:\Spiele\Action\GTA San Andreas\GTA San Andreas\pawno\include\utils.inc(3) : fatal error 107: too many error messages on one line
See the problem here? :P
Reply
#10

Yes, this are the Errors!!!
Whats to do now?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)