virtual worlds - 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: virtual worlds (
/showthread.php?tid=429326)
virtual worlds -
absolute - 09.04.2013
hey everyone .
there is a question ^^
is there any way to add some objects for an specified virtual world?
Re: virtual worlds -
Edvin - 09.04.2013
Код:
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);
Watch at CreateDynamicObject params.
Re: virtual worlds -
absolute - 09.04.2013
oh , thanks
Re: virtual worlds -
iggy1 - 09.04.2013
Also just for reference, you can use
https://sampwiki.blast.hk/wiki/CreatePlayerObject and the object will spawn in whatever VW/interior the player is in. This is how the streamer plugin does it too.