SA-MP Forums Archive
Objects won't load- 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: Objects won't load- STREAMER (/showthread.php?tid=535392)



Objects won't load- STREAMER - mirzakovacic - 03.09.2014

Hello,I have a problem,when I run my script it shows this:

CreateDynamicObject: Expecting 12 parameter(s), but found 11

And doesn't load any objects at all,help?


Re: Objects won't load- STREAMER - VishvaJeet - 03.09.2014

update your streamer plugin then compile & run
Open streamer.inc & see how many parameters are in CreateDynamicObject() then check your defined object parameter


Re: Objects won't load- STREAMER - mirzakovacic - 03.09.2014

Quote:

[17:55:46] *** Streamer Plugin: Warning: Include file version (0x27301) does not match plugin version (0x27201) (script might need to be recompiled with the latest include file)
[17:55:46] [SCRIPT]: Loaded Houses
[17:55:46] [SCRIPT]: Loaded Bizzes
[17:55:46] [SCRIPT]: Loaded S-Bizzes
[17:55:46] weburl = "triangle.gs" (string)
[17:55:46] AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
[17:55:46] [SCRIPT]: Loaded 1710 Objects
[17:55:46] [SCRIPT]: Loaded 797 Pickups

In include file:
native Streamer_GetDistanceToItem(Float: x, Float:y, Float:z, type, {Text3D,_}:id, &Float:distance, dimensions = 3);

Now it shows this,no more Createobject errors,but objects still don't load


Re: Objects won't load- STREAMER - VishvaJeet - 03.09.2014

show me your native CreateDynamicObject(...) if include file & your script file