Posts: 87
Threads: 35
Joined: Sep 2015
Reputation:
0
Hi, I have 1 interrior and many doors to him, when player enters on interrior server set his virtualworld.
A simple example:
Coordinates: First Doors - Virtualworld = 1
Coordinates: Second Doors - Vritualworld = 2
...
In my interrior I add actor and I have problem, because actor is visible in one virtualworld. Do you have any idea? :/
Posts: 115
Threads: 0
Joined: Mar 2018
try to add SetActorVirtualWorld(actorid, vworld);
Posts: 1,915
Threads: 64
Joined: Jan 2016
Reputation:
0
You want actors should be visible in every virtual world or just one?
Plus, do you use dynamic or static actor?
Posts: 115
Threads: 0
Joined: Mar 2018
Quote:
Originally Posted by Oficer
Hi, I have 1 interrior and many doors to him, when player enters on interrior server set his virtualworld.
A simple example:
Coordinates: First Doors - Virtualworld = 1
Coordinates: Second Doors - Vritualworld = 2
...
In my interrior I add actor and I have problem, because actor is visible in one virtualworld. Do you have any idea? :/
|
to dynamic add to creation CreateDynamicActor,
"worldid = -1" is for all wirtual words.
Код:
CreateDynamicActor(modelid, Float:x, Float:y, Float:z, Float:r, invulnerable = true, Float:health = 100.0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_ACTOR_SD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0);
Posts: 287
Threads: 51
Joined: Oct 2015
Reputation:
0
worldid -1 dont work for me....
Posts: 115
Threads: 0
Joined: Mar 2018
Quote:
Originally Posted by m4karow
worldid -1 dont work for me....
|
you use streamer CreateDynamicActor?
Posts: 287
Threads: 51
Joined: Oct 2015
Reputation:
0
yes.........................
Posts: 115
Threads: 0
Joined: Mar 2018
Quote:
Originally Posted by m4karow
yes.........................
|
update plugin
Posts: 287
Threads: 51
Joined: Oct 2015
Reputation:
0
to what? i have the latest version