SA-MP Forums Archive
Removing Errors from line of script. - 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: Removing Errors from line of script. (/showthread.php?tid=306830)



Removing Errors from line of script. - Wing - 28.12.2011

How do I remove these errors from this line of script? They are all on this line which is 17356...

.pwn(17356) : error 017: undefined symbol "distance"
.pwn(17356) : warning 215: expression has no effect
.pwn(17356) : error 001: expected token: ";", but found ")"
.pwn(17356) : error 029: invalid expression, assumed zero
.pwn(17356) : fatal error 107: too many error messages on one line
Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, .testlos = 1, .distance = 30.0);
Thanks


Re: Removing Errors from line of script. - Abreezy - 28.12.2011

Try this one:

pawn Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, 1, 30.0);



Re: Removing Errors from line of script. - Wing - 28.12.2011

It gave me this:

: warning 213: tag mismatch
: error 017: undefined symbol "distance"
: warning 215: expression has no effect
: error 001: expected token: ";", but found ")"
: error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line


Re: Removing Errors from line of script. - NinjaChicken - 28.12.2011

wing you retard you gotta tell him the line we stuck off 53003 then some different ones on 53050


Re: Removing Errors from line of script. - Wing - 28.12.2011

@Ninja,
I told him in the first post that it's under 17356

Signed,
Wing


Re: Removing Errors from line of script. - Abreezy - 28.12.2011

Did you try the line i told you to try..?


Re: Removing Errors from line of script. - Wing - 28.12.2011

Yes, It came up with the errors above.


Re: Removing Errors from line of script. - Wing - 28.12.2011

It gave me this:

: warning 213: tag mismatch
: error 017: undefined symbol "distance"
: warning 215: expression has no effect
: error 001: expected token: ";", but found ")"
: error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line


Re: Removing Errors from line of script. - Wing - 28.12.2011

Bump