Copying Interiors
#1

I'm just curious. I wish to make copies of the same interior, for example, I want to use the LSPD interior for both LSPD and FDSA. I know that I can use 2 different VWs, but what if I want to have certain objects appear in 1 VW, and not in the other?

I'm assuming there's a function to set objects to a VW but I don't know what it is. Also, if I don't assign an object to a VW, does that mean it shows up in ALL VWs?

Thanks guys.
Reply
#2

Hi, this plugin will help you.

https://sampforum.blast.hk/showthread.php?tid=102865

Then you can use

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

Already using it

Didn't know it had those parameters though, thanks.

I would be right in saying then that if a worldid is not set it shows up in all VWs, or just VW 0?
Reply
#4

the "worldid = -1" is the default parameter, so if you omit that value, then the object(s) will show up in ALL vworlds. same for interiors/players.
Reply
#5

Ah, that makes sense, thanks for your help
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)