How to define the interior of an object?
#1

Hello, I am creating a map, but I have a problem, I can not sit inside the map, for example, it is located on a property in Las Venturas, and it is possible to see the map, a plane can hit there, Does anyone know how I can sit inside the objects on this map and display the objects only if I have the same interior of the player?
Reply
#2

pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0);
If your using Incognitos streamer you can set the interior, of the object at it's creation. This mean you now only have to deal with the player and what interior they are in.

I'm also not sure if I understood your question, so do say if I am wrong.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)