Need help with the Latest 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 with the Latest Streamer (
/showthread.php?tid=363640)
Need help with the Latest Streamer -
Rohan_Ubhare - 28.07.2012
I need help with the latest streamer.
When I try to compile I get these errors
pawn Код:
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(156) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(382) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(404) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(406) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\gamemodes\x-rp.pwn(16704) : warning 217: loose indentation
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\gamemodes\x-rp.pwn(16705) : warning 217: loose indentation
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\gamemodes\x-rp.pwn(65644) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Re: Need help with the Latest Streamer -
Kindred - 28.07.2012
Get the latest 0.3e includes from the server package, that's probably the reason.
The other errors (loose indention + unreachable code) you must show us, unreachable code is usually because you returned a value while you did something after it.
So, like this would be bad:
pawn Код:
// Unreachable code, bad
return 1;
value = 1;
// Good:
value = 1;
return 1;
// Loose indention, bad
if(blabla == 1)
{
value = 1; //Loose indention here
// Good;
if(blabla == 1)
{
value = 1;
Re: Need help with the Latest Streamer -
Rohan_Ubhare - 28.07.2012
Now this remains:
pawn Код:
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(156) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(382) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(404) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
C:\Users\rohan\Desktop\Xtreme Roleplay 0.3e\pawno\include\streamer.inc(406) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Re: Need help with the Latest Streamer -
Kindred - 28.07.2012
Did you actually get the latest 0.3e includes and put them in the same folder the streamer.inc is in?
If not, do it.
Those errors are functions from the new 0.3e update, therefore it seems most likely you need the newest includes.
Re: Need help with the Latest Streamer -
Rohan_Ubhare - 28.07.2012
Yo man thanks I owe you one!