SA-MP Forums Archive
[HELP] Streamer (Function Syntax) - 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: [HELP] Streamer (Function Syntax) (/showthread.php?tid=540803)



[HELP] Streamer (Function Syntax) - Roei1998 - 07.10.2014

Код:
[17:37:21] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
The authors of the plugin change the syntax of the function by the paramater "draw distance".
How can I fix it?


Re: [HELP] Streamer (Function Syntax) - PMH - 07.10.2014

u're missing one parameter


Re: [HELP] Streamer (Function Syntax) - IceBilizard - 07.10.2014

Download latest streamer plugin and include then re-compile your script


Re: [HELP] Streamer (Function Syntax) - Roei1998 - 07.10.2014

Quote:
Originally Posted by IceBilizard
Посмотреть сообщение
Download latest streamer plugin and include then re-compile your script
It makes error when I tried to compile.


Re: [HELP] Streamer (Function Syntax) - rodrijose2009 - 07.10.2014

It needs 12 parameters, but you're writing only 11. Give us a example of how are you using the function.

Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);