Stream objects in certain virtual worlds
#1

Hi!

Is there any way to stream objects in certain virtual worlds? I am using Incognito's streamer.

pawn Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);

//How can I change this to work: (if possible)
CreateDynamicObject(1240,0.0,0.0,0.0,0.0,0.0,0.0,worldid > 5);
Reply
#2

You made a question and at the same time posting the answer...
Reply
#3

I'm not sure what are you talking about, but this way does not work at me since the worldid variable is not defined.
Reply
#4

change "worldid = -1"
to the worldid you want the object to be in.
Hope it helped.
Reply
#5

sadly, no, you need to define one (or -1 for all) virtual-worlds explicitly to stream an object in. exceptions, like you want, cannot be made (vworlds >5, but not 0,1,2,3,4 and 5).
the streamer CAN handle a large amount of objects, so if you need "only" a few vworlds, then you could create an objects for each single vworld. it will cost only an unnoticeable amount of RAM - and a little more CPU time.
Reply
#6

Ok thanks guys for help!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)