SA-MP Forums Archive
Need help guys (rep+) - 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: Need help guys (rep+) (/showthread.php?tid=304466)



Need help guys (rep+) - adios1 - 18.12.2011

Im having this error I dont know why?!
pawn Код:
D:\Users\Ken\Desktop\server 0.3d - Copy (2)\gamemodes\tfrpngrp2.pwn(16908) : error 017: undefined symbol "distance"
D:\Users\Ken\Desktop\server 0.3d - Copy (2)\gamemodes\tfrpngrp2.pwn(16908) : warning 215: expression has no effect
D:\Users\Ken\Desktop\server 0.3d - Copy (2)\gamemodes\tfrpngrp2.pwn(16908) : error 001: expected token: ";", but found ")"
D:\Users\Ken\Desktop\server 0.3d - Copy (2)\gamemodes\tfrpngrp2.pwn(16908) : error 029: invalid expression, assumed zero
D:\Users\Ken\Desktop\server 0.3d - Copy (2)\gamemodes\tfrpngrp2.pwn(16908) : fatal error 107: too many error messages on one line
And this is the 16908 code...
pawn Код:
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);
Thank you in advance! Happy holidays!


Re: Need help guys (rep+) - sleepysnowflake - 18.12.2011

pawn Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo [iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, 1, 30.0);
Weren't you supposed to write only the values?


Re: Need help guys (rep+) - adios1 - 18.12.2011

I'm sorry i dunno what u talkn bout im a amateur scripter


Re: Need help guys (rep+) - sleepysnowflake - 18.12.2011

Just try the code I posted.


Re: Need help guys (rep+) - adios1 - 18.12.2011

Yep I copy and paste it. but now having 26 errors. but I don't have any errors at line 16908.. ermmmm anyways! thanks! rep+


Re: Need help guys (rep+) - Thresholdold - 18.12.2011

EDIT: Aww me missed out on rep Too slow.


Re: Need help guys (rep+) - NinjaChicken - 14.08.2012

tis easy to fix replace distance with streamdistance rep me bro


Re: Need help guys (rep+) - Goru - 14.08.2012

You got Teamviewer, as others stated above. It's pretty easy to fix.