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



******* Streamer - Shadow0707 - 17.11.2016

I need help with include called [MV]_******* when i add #include <[MV]_*******> in my script the pawno is crashing and not compiling I tried to fix it but nothing happens

( Sorry For My English, Newbie )

Edit: I Searched About Other ******* Streamer But All Didn't Worked.


Respuesta: ******* Streamer - Swedky - 17.11.2016

Did you try it in a blank script?


Re: ******* Streamer - Shadow0707 - 17.11.2016

Not Yet But It will be useless if it doesn't work in my script.


Re: ******* Streamer - Sew_Sumi - 17.11.2016

Quote:
Originally Posted by Shadow0707
Посмотреть сообщение
Not Yet But It will be useless if it doesn't work in my script.
If it works on that, then your script is the problem.

This is a process of elimination. Doesn't matter if it makes your script useless, you're trying to find why the include is messing with your setup.


Re: ******* Streamer - Shadow0707 - 18.11.2016

I Fixed It But I Have Error

I:\RCTDM\pawno\include\ewew.inc(41) : error 017: undefined symbol "i"

CMD:ytall(playerid, params[])
{
for(new i=0; i<MAX_PLAYERS; i++)
if(isnull(params)) return SendClientMessage(playerid, -1, "{F81414}ERROR: /yt [URL]");
*******StreamForAll(i, params);
return 1;
}


Re: ******* Streamer - Sew_Sumi - 18.11.2016

Your command needs restructuring.

You use a for loop, then check if the params aren't there... and when you do use the loops i, you're outside of the loop.

If you comment out the *******stream line, you'd find if you type /yt with no params it'll spam the shit out of your screen.


Re: ******* Streamer - Shadow0707 - 19.11.2016

I Fixed It But Not Working On Linux


Re: ******* Streamer - Sew_Sumi - 20.11.2016

post up the current command, and the log file showing the startup of the server (Remove all passwords/IPs)