SA-MP Forums Archive
error 017: undefined symbol "distance" - 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 017: undefined symbol "distance" (/showthread.php?tid=358697)



error 017: undefined symbol "distance" - Adam Hardy - 11.07.2012

help

Code:
pwn(16899) : error 017: undefined symbol "distance"
pwn(16899) : warning 215: expression has no effect
pwn(16899) : error 001: expected token: ";", but found ")"
pwn(16899) : error 029: invalid expression, assumed zero
pwn(16899) : fatal error 107: too many error messages on one line
Line 16899: 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);


Re: error 017: undefined symbol "distance" - Miqueias Barros - 11.07.2012

Update your includes for 0.3e.


Re : error 017: undefined symbol "distance" - Adam Hardy - 11.07.2012

can you give me a link for it ?


Re: error 017: undefined symbol "distance" - Miqueias Barros - 11.07.2012

Click here


Re : Re: error 017: undefined symbol "distance" - Adam Hardy - 11.07.2012

Quote:
Originally Posted by Miqueias Barros
View Post
WItch Includes are related with this problem, i need the Download link not the Search link --'


Re: Re : Re: error 017: undefined symbol "distance" - Warfish - 11.07.2012

Quote:
Originally Posted by Adam Hardy
View Post
WItch Includes are related with this problem, i need the Download link not the Search link --'
I don't think its his includes that are the problem, show the part of the script you get the errors, than we can help you further.


Re: error 017: undefined symbol "distance" - Miqueias Barros - 11.07.2012

try
http://sa-mp.com/download.php


Re : error 017: undefined symbol "distance" - Adam Hardy - 11.07.2012

This is the full 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);

in case, im a newbie on those things :/
Pic...




Re : error 017: undefined symbol "distance" - Adam Hardy - 11.07.2012

HELP GUYS


Re: error 017: undefined symbol "distance" - pyrodave - 11.07.2012

pawn Code:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex[hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0);
Replace the line with the error with that.