SA-MP Forums Archive
Error's - 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)
+--- Thread: Error's (/showthread.php?tid=443139)



Error's - semaj - 10.06.2013

Can someone help fix these errors?


pawn Код:
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_utils.inc(160) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_utils.inc(263) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_utils.inc(289) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_debug.inc(231) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_debug.inc(291) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_debug.inc(296) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_ini.inc(804) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_bintree.inc(438) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_bintree.inc(481) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_scripting.inc(190) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_scripting.inc(296) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_scripting.inc(522) : warning 219: local variable "str" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_commands.inc(2177) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_timers.inc(121) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\YSI\y_timers.inc(204) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\foreach.inc(710) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\foreach.inc(752) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\foreach.inc(794) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\foreach.inc(847) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Titanium Roleplay with login\pawno\include\foreach.inc(890) : warning 219: local variable "count" shadows a variable at a preceding level
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Copy of Titanium Roleplay with login\gamemodes\titanium.pwn(37) : warning 201: redefinition of constant/macro (symbol "COLOR_WHITE")
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Copy of Titanium Roleplay with login\gamemodes\titanium.pwn(145) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Copy of Titanium Roleplay with login\gamemodes\titanium.pwn(145) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Copy of Titanium Roleplay with login\gamemodes\titanium.pwn(145) : warning 215: expression has no effect
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Copy of Titanium Roleplay with login\gamemodes\titanium.pwn(145) : error 001: expected token: ";", but found "-integer value-"
C:\Documents and Settings\james\Desktop\Titanium Roleplay GM\Copy of Titanium Roleplay with login\gamemodes\titanium.pwn(145) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.



Re: Error's - Aly - 10.06.2013

Can you show us the line 145?
And delete #define COLOR_WHITE ....


Re: Error's - FunnyBear - 10.06.2013

It looks like your missing a curly bracket somewhere. Check your script.


Re: Error's - semaj - 10.06.2013

nothing on line 145


Re: Error's - Sascha - 10.06.2013

Nope, then he would have around 26 errors, he only has 4... for the warnings: You defined those variables like "count" and "str" more than once... so maybe on top of the script with "new str;" and within a function or callback again.. or even within a callback more than once... you should only define those variables once... Either once in each function you need it, or as global variable...
for your errors... you need to post line 145, as said before.
If there is nothing in that line, post the line above (144)


Re: Error's - Aly - 10.06.2013

If there's nothing on line 145 it means it's a little script.
Then it's possible that you forger a { or } somewhere.
Check for it.


Re: Error's - Sascha - 10.06.2013

I suppose there is missing a
Код:
");
at the end of line 144


Re: Error's - Red_Dragon. - 10.06.2013

If there's an error on a non-existing line, then you have a missing brace.


Re: Error's - nor15 - 10.06.2013

I think that the problem is in includes , coz it says y_utils.inc and so on