SA-MP Forums Archive
CreateDynamicObject doesn't shows object? - 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: CreateDynamicObject doesn't shows object? (/showthread.php?tid=560699)



CreateDynamicObject doesn't shows object? - Flokx - 30.01.2015

So when I use a map with CreateDynamicObject function on it. It will never appear in my server. CreateObjects works fine. I have defined streamer but still. All plugins are fine. Any idea why?


Re: CreateDynamicObject doesn't shows object? - Kar - 30.01.2015

How about the virtual world / interior checks? Is your map in a different world / interior?

Is CreateDynamicObject set to the wrong world / interior?


Re: CreateDynamicObject doesn't shows object? - basicllsw - 30.01.2015

Код:
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance);
Код:
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);
different between createObject(Original) and CreateDynamicObject(streamer)

CreateDynamicObject has worldid,interiorid,playerid and other but the original isn't have.

sorry for my bad english


Re: CreateDynamicObject doesn't shows object? - Flokx - 31.01.2015

Ik, all in world 0, int 0

If I use old maps from sa-mp forum, pawn file works. But now when I create my own with mta and convert it using convertffs. It doesn't show anything on that area. Please any help?


Re: CreateDynamicObject doesn't shows object? - Lukenzi - 31.01.2015

Change streamer to 2.7.4 and try. For me it was bugged in 2.7.5... Idk why