SA-MP Forums Archive
Error after updateing Streamer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Error after updateing Streamer (/showthread.php?tid=344889)



Error after updateing Streamer - Johnny_Robins - 23.05.2012

Alright so 0.3e comes out and I'm updating my script. I've never really had this problem before so its strange. I've played a bit around with my script to see if I can get rid of errors but i couldn't.

Errors-
Код:
C:\Users\James\Desktop\FSRP\FSRP\gamemodes\FSRP.pwn(188) : error 017: undefined symbol "distance"
C:\Users\James\Desktop\FSRP\FSRP\gamemodes\FSRP.pwn(188) : warning 215: expression has no effect
C:\Users\James\Desktop\FSRP\FSRP\gamemodes\FSRP.pwn(188) : error 001: expected token: ";", but found ")"
C:\Users\James\Desktop\FSRP\FSRP\gamemodes\FSRP.pwn(188) : error 029: invalid expression, assumed zero
C:\Users\James\Desktop\FSRP\FSRP\gamemodes\FSRP.pwn(188) : 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-
Код:
		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);
Some Code around it-
Код:
		HouseInfo[iIndex][hPickupID] = CreateDynamicPickup(1273, 23, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]);
  (Line 188) 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);
		++iIndex;
	}
	return fclose(iFileHandle);
}



Re: Error after updateing Streamer - jessejanssen - 23.05.2012

Update your streamer, as it are dynamic pickups it's probably that problem. If that's it I'd appreciate a +rep ( I need it to advertise my server, sorry for asking ^^ ).

Best regards,
Jesse


Re: Error after updateing Streamer - Johnny_Robins - 23.05.2012

Quote:
Originally Posted by jessejanssen
Посмотреть сообщение
Update your streamer, as it are dynamic pickups it's probably that problem. If that's it I'd appreciate a +rep ( I need it to advertise my server, sorry for asking ^^ ).

Best regards,
Jesse
I did update my streamer that is how i got the errors. But ill check out the pickups.


Re: Error after updateing Streamer - Johnny_Robins - 23.05.2012

Problem Fixed, A friend gave me a hand.