SA-MP Forums Archive
Help! 4 Errors! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help! 4 Errors! (/showthread.php?tid=65619)



Help! 4 Errors! - DX[Boss] - 14.02.2009

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


Re: Help! 4 Errors! - SilentMouse - 14.02.2009

Post the error lines.


Re: Help! 4 Errors! - DX[Boss] - 14.02.2009

д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?


Re: Help! 4 Errors! - Backwardsman97 - 14.02.2009

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...


Re: Help! 4 Errors! - DX[Boss] - 15.02.2009

Forgot these lines
Read only my first Post!!!

I hope, somebody can help me!


Re: Help! 4 Errors! - Extrak - 15.02.2009

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


Re: Help! 4 Errors! - [LDT]LuxurY - 15.02.2009

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


Re: Help! 4 Errors! - DX[Boss] - 15.02.2009

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;
}



Re: Help! 4 Errors! - Backwardsman97 - 15.02.2009

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


Re: Help! 4 Errors! - DX[Boss] - 15.02.2009

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