SA-MP Forums Archive
Error.. xD [+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: Error.. xD [+rep] (/showthread.php?tid=344677)



Error.. xD [+rep] - Knight_Rider - 22.05.2012

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

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

line 17221 = 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.. xD [+rep] - jessejanssen - 22.05.2012

Could you please show the whole command/function where the line '17221' is in?

Best regards,
Jesse


Re: Error.. xD [+rep] - Roperr - 22.05.2012

Quote:
Originally Posted by jessejanssen
Посмотреть сообщение
Could you please show the whole command/function where the line '17221' is in?

Best regards,
Jesse
What Jesse said.

Seems like you haven't defined the variable "distance".


Re: Error.. xD [+rep] - Knight_Rider - 22.05.2012

17221 = 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.. xD [+rep] - Firo - 22.05.2012

.testlos = 1
try to remove that point before the testlos.


Re: Error.. xD [+rep] - Knight_Rider - 22.05.2012

Now

C:\Users\garg\Desktop\EXGRP\EXGRP\gamemodes\MC-RP.pwn(17221) : error 017: undefined symbol "testlos"
C:\Users\garg\Desktop\EXGRP\EXGRP\gamemodes\MC-RP.pwn(17221) : warning 215: expression has no effect
C:\Users\garg\Desktop\EXGRP\EXGRP\gamemodes\MC-RP.pwn(17221) : error 029: invalid expression, assumed zero
C:\Users\garg\Desktop\EXGRP\EXGRP\gamemodes\MC-RP.pwn(17221) : error 017: undefined symbol "distance"
C:\Users\garg\Desktop\EXGRP\EXGRP\gamemodes\MC-RP.pwn(17221) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.


Re: Error.. xD [+rep] - [LvZ]Free - 22.05.2012

remove the "." from the distance and try


Re: Error.. xD [+rep] - Knight_Rider - 22.05.2012

hmm its fixed that was stream.inc problem. now its ok