SA-MP Forums Archive
Problem with 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: Problem with streamer (/showthread.php?tid=502170)



Problem with streamer - davazi7 - 22.03.2014

Hi! My gamemode compiles perfectly, but when I run the server I get these messages on the log:

Код:
[17:37:21] *** Streamer Plugin: Warning: Include file version (0x26104) does not match plugin version (0x27002) (script might need to be recompiled with the latest include file)
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
... and so on...
I don't know why this is happenning, I have just download the latest streamer in https://github.com/samp-incognito/sa...lugin/releases

Thanks!


Re: Problem with streamer - Konstantinos - 22.03.2014

Replace the old include (streamer.inc) with the latest one as well. In the function CreateDynamicObject, draw distance has been added as the last argument/parameter. So you need to add it in every line that use CreateDynamicObject function. After done that, re-compile your scripts and try again.


Respuesta: Problem with streamer - davazi7 - 22.03.2014

Oops... Is there any way to do it quickly? I think I'll die if I have to change draw distance line by line, I have 4k objects...


Re: Problem with streamer - Equuuuin0X - 22.03.2014

Update the streamer plugin/includes, re-compile the script, done.

Make sure to re-compile it by opening pawno.exe at where your streamer stuff folder is, open the script, re-compile.