SA-MP Forums Archive
3D STREAMER COMPILE ERRORS - 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: 3D STREAMER COMPILE ERRORS (/showthread.php?tid=307603)



3D STREAMER COMPILE ERRORS - NinjaChicken - 31.12.2011

ok so i upgraded to 0.3d streamer right incognito's so i put include in the includes folder in pawno tried to compile and i get there errors
Quote:

C:\Users\BestFamily\Desktop\GENXv72.pwn(1735 : error 017: undefined symbol "distance"
C:\Users\BestFamily\Desktop\GENXv72.pwn(1735 : warning 215: expression has no effect
C:\Users\BestFamily\Desktop\GENXv72.pwn(1735 : error 001: expected token: ";", but found ")"
C:\Users\BestFamily\Desktop\GENXv72.pwn(1735 : error 029: invalid expression, assumed zero
C:\Users\BestFamily\Desktop\GENXv72.pwn(1735 : fatal error 107: too many error messages on one line

and here is the error line
Quote:

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: 3D STREAMER COMPILE ERRORS - Scott_Williams - 31.12.2011

Add this at the beginning of the script: #include <streamer>


Re: 3D STREAMER COMPILE ERRORS - PowerPC603 - 31.12.2011

I think I read somewhere else that the "distance" parameter has been renamed to "streamdistance" IIRC.


Re: 3D STREAMER COMPILE ERRORS - NinjaChicken - 01.01.2012

it has #include <streamer> are you able to teamviewer help me later on perhaps?