SA-MP Forums Archive
Streamer help - 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: Streamer help (/showthread.php?tid=361631)



Streamer help - Dan. - 21.07.2012

I got the latest streamer include and plugin, put them into the right places and included streamer in my gamemode.

I want to make some checkpoints for some bases. But I have some problems.
Below the includes I have:
pawn Код:
new A51CP; // Area 51
Under GameModeInit:
pawn Код:
A51CP = CreateDynamicCP(186.5154, 1927.2018, 17.7387, 5.0, -1, -1, -1, 100.0);
But then I get this warning:
pawn Код:
warning 204: symbol is assigned a value that is never used: "A51CP"
I guess that it's telling me, I've created the checkpoint but I am not using it. So OnPlayerConnect I add:
pawn Код:
TogglePlayerAllDynamicCPs(playerid, toggle); // I tried "1" instead of toggle also.
But then I get 2 errors:
pawn Код:
error 017: undefined symbol "toggle"
warning 204: symbol is assigned a value that is never used: "A51CP"

And when I am starting up the server, in the console is:
pawn Код:
Error: Function not registered: 'Streamer_CallbackHook'
Error: Function not registered: 'CreateDynamicCP'
Error: Function not registered: 'TogglePlayerAllDynamicCPs'



Re: Streamer help - SuperViper - 21.07.2012

Update your streamer plugin and 'TogglePlayerAllDynamicCPs' won't fix your problem because it's not using the variable.


Re: Streamer help - Dan. - 21.07.2012

Quote:
Originally Posted by Dan.
Посмотреть сообщение
I got the latest streamer include and plugin, put them into the right places and included streamer in my gamemode.
Streamer plugin is also updated, please help!


Re: Streamer help - Dan. - 22.07.2012

Bump, yes I downloaded latest v2.6.1 include and plugin. Deleted my old include file and the plugin. Replaced them but I still get these problems.


Re: Streamer help - Dan. - 22.07.2012

SOLVED! I downloaded all 0.3e server package again, all new streamers etc. and managed to get it working.