SA-MP Forums Archive
Little problem - 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: Little problem (/showthread.php?tid=358033)



Little problem - Eugene. - 09.07.2012

I have this little problem, can someone help me out ? I am using the last Streamer Plugin and is not working. When I am putting a old streamer.inc it works but I get the 'Unknown' GM thing.



Код:
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\pawno\include\streamer.inc(156) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\pawno\include\streamer.inc(382) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\pawno\include\streamer.inc(404) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\pawno\include\streamer.inc(406) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : error 017: undefined symbol "distance"
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : warning 215: expression has no effect
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : error 029: invalid expression, assumed zero
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : fatal error 107: too many error messages on one line

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


6 Errors.



Re: Little problem - Mark™ - 09.07.2012

Quote:
Originally Posted by Eugene.
Посмотреть сообщение
I have this little problem, can someone help me out ? I am using the last Streamer Plugin and is not working. When I am putting a old streamer.inc it works but I get the 'Unknown' GM thing.



Код:
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\pawno\include\streamer.inc(156) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\pawno\include\streamer.inc(382) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\pawno\include\streamer.inc(404) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\pawno\include\streamer.inc(406) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : error 017: undefined symbol "distance"
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : warning 215: expression has no effect
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : error 029: invalid expression, assumed zero
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : fatal error 107: too many error messages on one line

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


6 Errors.
Nothing's wrong with your streamer, you need to update your server includes to 0.3e ones, replace the old one with the ones from the 0.3e server package and re-compile.


Re: Little problem - Eugene. - 09.07.2012

I did, now I get only this.

Код:
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : error 017: undefined symbol "distance"
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : warning 215: expression has no effect
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : error 029: invalid expression, assumed zero
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(17087) : 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 17087

Код:
		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: Little problem - Mark™ - 09.07.2012

Post line 17087.


Re: Little problem - Eugene. - 09.07.2012

I did

Line 17087

Код:
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: Little problem - Mark™ - 09.07.2012

Replace with this
pawn Код:
HouseInfo[iIndex][hTextID] = CreateDynamic3DTextLabel(szFileStr, COLOR_GREEN, HouseInfo[iIndex][hExteriorX], HouseInfo[iIndex][hExteriorY], HouseInfo[iIndex][hExteriorZ]+0.5,30.0, INVALID_PLAYER_ID,  INVALID_VEHICLE_ID, 1, -1, -1, -1, 30.0);



Re: Little problem - Eugene. - 09.07.2012

Now came another problems.

Код:
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(52806) : error 017: undefined symbol "distance"
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(52806) : warning 215: expression has no effect
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(52806) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(52806) : error 029: invalid expression, assumed zero
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(52806) : 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 52806 :

Код:
HouseInfo[house][hTextID] = CreateDynamic3DTextLabel( string, COLOR_GREEN, HouseInfo[house][hExteriorX], HouseInfo[house][hExteriorY], HouseInfo[house][hExteriorZ]+0.5, 30.0, .testlos = 1, .distance = 30.0);



Re: Little problem - Mark™ - 09.07.2012

Do the same for the rest of the lines.


Re: Little problem - Eugene. - 09.07.2012

I did and now I get this on every one I edited.

Код:
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(52806) : error 017: undefined symbol "iIndex"



Re: Little problem - Mark™ - 09.07.2012

Quote:
Originally Posted by Eugene.
Посмотреть сообщение
I did and now I get this on every one I edited.

Код:
C:\Documents and Settings\*\Desktop\samp03e_svr_win32\gamemodes\*.pwn(52806) : error 017: undefined symbol "iIndex"
Check your "HouseInfo" enum, define iIndex there.