Spliff Posted December 15, 2013 Posted December 15, 2013 As the title says, are there any way of adding an interior to all dimensions; We've mapped a custom interior, and are gonna make it like a "standard" interior, for all boats to use (you can enter the boat) Yet, each boat got it's own dimension for the interior, so players won't run into eachother when entering their boat. So, is there any way I could make a .map file, be in all dimensions?
xXMADEXx Posted December 15, 2013 Posted December 15, 2013 You cannot put a custom made map in all dimensions/interiors, only the default GTA maps are applied to all dimensions and interiors. The Ultimate Lua Tutorial! | MTA PHP SDK
Spliff Posted December 15, 2013 Author Posted December 15, 2013 It is possible, I have seen it been done before.
ViRuZGamiing Posted December 15, 2013 Posted December 15, 2013 You can try using a table with dimensions maybe... "If debugging is the process of removing software bugs, then programming must be the process of putting them in."
Gallardo9944 Posted December 15, 2013 Posted December 15, 2013 Well, another way is to push map clientside and build it there but hide other players clientside to other dimensions. Code Debugger - Minimalistic MTA debug line replacement
PaiN^ Posted December 15, 2013 Posted December 15, 2013 Maybe this will work : for i = 0, 65535 do -- Add all map objects and set there dimension to "i" . end " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
Moderators IIYAMA Posted December 15, 2013 Moderators Posted December 15, 2013 Maybe this will work : for i = 0, 65535 do -- Add all map objects and set there dimension to "i" . end true that. addCommandHandler("dimension" function (CMD,arguments) local elements = getElementsByType("object") local dimension = tonumber(arguments) or 0 for i=1,#elements do setElementDimension (elements[i],dimension) end end) /dimension 5 Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now