SA-MP Forums Archive
Compiling 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: Compiling Errors. (/showthread.php?tid=382115)



Compiling Errors. - TheBlackKnight - 02.10.2012

Well tryed to fix it but i gaveup.
Those are the errros:
pawn Код:
C:\Documents and Settings\kris\щемзп дтбегд\P-RP\gamemodes\P-RP.pwn(16900) : error 017: undefined symbol "distance"
C:\Documents and Settings\kris\щемзп дтбегд\P-RP\gamemodes\P-RP.pwn(16900) : warning 215: expression has no effect
C:\Documents and Settings\kris\щемзп дтбегд\P-RP\gamemodes\P-RP.pwn(16900) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\kris\щемзп дтбегд\P-RP\gamemodes\P-RP.pwn(16900) : error 029: invalid expression, assumed zero
C:\Documents and Settings\kris\щемзп дтбегд\P-RP\gamemodes\P-RP.pwn(16900) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
This is the line 16900:
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);
Any help?? suggestions??


Re: Compiling Errors. - Danyal - 02.10.2012

replace
Quote:

.distance = 30.0

with
Quote:

.streamdistance = 30.0

erros will be fixed


Re: Compiling Errors. - trapstar2020 - 02.10.2012

remove distance =


Re: Compiling Errors. - TheBlackKnight - 02.10.2012

Quote:
Originally Posted by Danyal
Посмотреть сообщение
replace


with


erros will be fixed
Thanks man..worked well...