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=450242)



error 017: undefined symbol "distance" - ngumcutoi1999 - 12.07.2013

Код:
(16932) : error 017: undefined symbol "distance"
(16932) : warning 215: expression has no effect
(16932) : error 001: expected token: ";", but found ")"
(16932) : error 029: invalid expression, assumed zero
(16932) : fatal error 107: too many error messages on one line
line 16932
Код:
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);
Help me !


Re: error 017: undefined symbol "distance" - Vince - 12.07.2013

Change distance to streamdistance.


Re: error 017: undefined symbol "distance" - ngumcutoi1999 - 12.07.2013

Thanks , compile successful !