Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include
#14

You're providing 7 values, which is perfectly fine as only those 7 are required values:
Код:
CreateDynamicObject(968,1752.0000000,533.3994100,26.8000000,359.9560000,88.6930000,161.2570000); //object(barrierturn) (nbl)
There are actually 12 values in the definition of the function, of which the last 5 are optional:
Код:
native 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);
Since you skipped the optional parameters, it must be that your include is outdated compared to the plugin, which expects 12 parameters (given by the include, which automatically adds the optional ones but only supplies 11 values to the plugin).

Try to delete the streamer.inc file first from pawno/includes, then extract it again from the .rar file.

Then recompile your script.
Reply


Messages In This Thread
Streamer error fixed, New error, Script[gamemodes/PLA.amx]: Run time error 19: "File or function is not found" - by Bashur - 23.02.2015, 14:40
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by Smally - 23.02.2015, 14:41
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by Bashur - 23.02.2015, 14:44
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by Smally - 23.02.2015, 14:44
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by Bashur - 23.02.2015, 14:46
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by Smally - 23.02.2015, 14:48
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by Bashur - 23.02.2015, 14:49
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by Smally - 23.02.2015, 14:50
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by Bashur - 23.02.2015, 14:51
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by Smally - 23.02.2015, 14:55
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by Bashur - 23.02.2015, 15:01
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by Smally - 23.02.2015, 15:32
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by Bashur - 23.02.2015, 16:16
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by PowerPC603 - 23.02.2015, 19:25
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by muhsah007 - 08.03.2015, 08:01
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by biker122 - 08.03.2015, 08:31
Re: Streamer Plugin: CreateDynamicObject: Expecting 12 parameter(s) but found 11 With latest streamer plugin/include - by Yousha - 16.03.2015, 19:28

Forum Jump:


Users browsing this thread: 1 Guest(s)