Error's
#1

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.
Reply
#2

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

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

nothing on line 145
Reply
#5

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)
Reply
#6

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

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)