SA-MP Forums Archive
need help updating streamer - 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 updating streamer (/showthread.php?tid=329203)



need help updating streamer - Crossfire1989 - 27.03.2012

title says it all, although when i go to compile with the new streamer (vers. 2.6.1) for Sa-mp 0.3e i get these messages

Код:
C:\Documents and Settings\Administrator\Desktop\Next Generation Roleplay\gamemodes\SGRP.pwn(16899) : error 017: undefined symbol "distance"
C:\Documents and Settings\Administrator\Desktop\Next Generation Roleplay\gamemodes\SGRP.pwn(16899) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\Next Generation Roleplay\gamemodes\SGRP.pwn(16899) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Administrator\Desktop\Next Generation Roleplay\gamemodes\SGRP.pwn(16899) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\Next Generation Roleplay\gamemodes\SGRP.pwn(16899) : fatal error 107: too many error messages on one line

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


4 Errors.
and here is the line that is throwing the errors can someone help me asap please

here is the 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);



Re: need help updating streamer - captainjohn - 27.03.2012

Have you defined distance?

pawn Код:
new Float:distance;



Re: need help updating streamer - Crossfire1989 - 27.03.2012

how do i do that, can you get on my teamspeak captain john and walk me through it please, cause i am a newb when i comes to scripting , that is why i stick to mapping


Re: need help updating streamer - Crossfire1989 - 27.03.2012

im going to try it first


Re: need help updating streamer - arman'as - 27.03.2012

HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0);


Re: need help updating streamer - captainjohn - 27.03.2012

Quote:
Originally Posted by Crossfire1989
Посмотреть сообщение
im going to try it first
Add it to the top of your script under your includes/defines.


Re: need help updating streamer - Crossfire1989 - 27.03.2012

@arman'as ok ill try it with that line


Re: need help updating streamer - Crossfire1989 - 27.03.2012

@captain ok i just put it where you said to so i am going to try to compile now


Re: need help updating streamer - Crossfire1989 - 27.03.2012

after doing what you said captain it still throws the same errors