SA-MP Forums Archive
Objects in Virtual World - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Objects in Virtual World (/showthread.php?tid=144610)



Objects in Virtual World - MummyKillerSLO - 28.04.2010

Hello!

I have three virtual worlds. One is deathmatch, second freeroam and third stunt world. The problem is, when I put objects in stunt world, there are only cca. half of them visible. In my old server all objects worked fine. Btw, I am using Streamer Plugin v2.3.7. Can anyone help me please?


Re: Objects in Virtual World - dice7 - 28.04.2010

Afaik, the object functions in the streamer plugin require a virtual world argument. Set it.


Re: Objects in Virtual World - Sascha - 28.04.2010

Like dice said you have to change the worldid..
the line should look like this:

CreateDynamicObject(modelid, Float, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid, interiorid, playerid, Float:distance);


Now change the worldid to the one you want the object to spawn in


Re: Objects in Virtual World - MummyKillerSLO - 28.04.2010

Yes, yes I know that... : ) I set that already but only half of them are visible.

I have objects like this: (note: WORLD_STUNT is defined as 3)

Код:
	CreateDynamicObject(1337, 1941.5125732422, -2354.5864257813, 21.086111068726, 0.7415771484375, 91.301879882813, 181.53259277344,WORLD_STUNT,-1,-1); //object (binnt07_la) (13)
	CreateDynamicObject(1337, 1941.6635742188, -2354.5615234375, 19.836111068726, 0.7415771484375, 91.301879882813, 181.53259277344,WORLD_STUNT,-1,-1); //object (binnt07_la) (14)
	CreateDynamicObject(1337, 1940.1363525391, -2354.6159667969, 21.911113739014, 0.000000, 0.000000, 0.000000,WORLD_STUNT,-1,-1); //object (binnt07_la) (15)
	CreateDynamicObject(1337, 1940.1357421875, -2354.615234375, 20.761131286621, 0.000000, 0.000000, 0.000000,WORLD_STUNT,-1,-1); //object (binnt07_la) (16)
	CreateDynamicObject(1337, 1940.1357421875, -2354.615234375, 20.086141586304, 0.000000, 0.000000, 0.000000,WORLD_STUNT,-1,-1); //object (binnt07_la) (17)
	CreateDynamicObject(1337, 1939.5632324219, -2354.5725097656, 19.836111068726, 0.7415771484375, 91.301879882813, 181.53259277344,WORLD_STUNT,-1,-1); //object (binnt07_la) (19)
Any other help please?


Re: Objects in Virtual World - MummyKillerSLO - 28.04.2010

Anyone?