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



Streamer 2.7 problem - Pr0GreSiVe - 24.03.2014

I have weird error when i updated my server to the new streamer.
This error bugs every server command that i have i cant do shit in my server PLEASE I REALLY NEED HELP!
CreateDynamicObject: Expecting 12 parameter(s), but found 11



Re: Streamer 2.7 problem - Konstantinos - 24.03.2014

A new parameter (draw distance) has been added in CreateDynamicObject function so you need to set it in every line that uses CreateDynamicObject.


Re: Streamer 2.7 problem - Pr0GreSiVe - 24.03.2014

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
A new parameter (draw distance) has been added in CreateDynamicObject function so you need to set it in every line that uses CreateDynamicObject.
That is the only way to fix it?
My gamemode has 96,696 lines it will take me so long
I have mapping fs's too..
What should i set?


Re: Streamer 2.7 problem - Konstantinos - 24.03.2014

If I were you, then I'd paste any object that's created using CreateDynamicObject in a new file and use Ctrl + H (replace). Then I'd replace ");" with ", .drawdistance = 300.0);" so it adds drawdistance in every line. Of course, you can change the draw distance value to whatever you want.


Re: Streamer 2.7 problem - Pr0GreSiVe - 24.03.2014

Edit: i've removed my mapping filterscripts from the server and its working fine now.