Quick object question.
#1

How could i create an object in a virtual world. So that if im in world 0 i wont see it, then i goto world 1 and i see it.

And everyone who isnt in world 1 wont see it..

How can it be done?
Reply
#2

create a OnPlayerVirtualWorldChange and than destroy / create the objects for the world ids
And this only works if you use PlayerObjects
Reply
#3

That won't work if there are players on both virtual worlds
Reply
#4

Ok, so what if i give an array to anyone in the virtual world, then use CreatePlayerObject.

That should work shouldn't it?
Reply
#5

yes it could
Reply
#6

object1 = CreateObject(504, x, y, z, c, c, c, c);
LinkObjectToInterior (object1, 1);


this will work if someone will made .inc file to this


Reply
#7

Quote:
Originally Posted by Rav
That won't work if there are players on both virtual worlds
Wrong.

"And this only works if you use PlayerObjects"

See https://sampwiki.blast.hk/wiki/CreatePlayerObject
Reply
#8

Quote:
Originally Posted by 1337pr0
Quote:
Originally Posted by Rav
That won't work if there are players on both virtual worlds
Wrong.

"And this only works if you use PlayerObjects"

See https://sampwiki.blast.hk/wiki/CreatePlayerObject
he was right because I wrote it after I read his post
For me it was logical what to use
But for some we need to add this important sentence
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)