Tails Posted October 7, 2012 Posted October 7, 2012 Just as title says. My friend is working on a map through the MTA map editor. It's locates inside the LV Stadium 2 interior. All vehicle spawns are placed but when testing the map it'll spawn you outside stadium in the MAIN interior. Is there any way we could fix this? Thanks in advance. Discord: its.tails
Moderators IIYAMA Posted October 9, 2012 Moderators Posted October 9, 2012 You could try: https://wiki.multitheftauto.com/wiki/SetElementPosition 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
Jaysds1 Posted October 13, 2012 Posted October 13, 2012 actually, he would need to get the interior he was in then use setElementInterior, then he would need to use the setElementPosition. My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Tails Posted October 13, 2012 Author Posted October 13, 2012 I managed to spawn the vehicles inside the stadium but the vehicles still remain invisible. Discord: its.tails
Moderators IIYAMA Posted October 18, 2012 Moderators Posted October 18, 2012 I managed to spawn the vehicles inside the stadium but the vehicles still remain invisible. yes they are, nothing you can do about it. (alpha does not work) 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
Ab-47 Posted December 24, 2012 Posted December 24, 2012 I managed to spawn the vehicles inside the stadium but the vehicles still remain invisible. It'd remain invisible if it's still in dimension 0, remember the 3 things; setElementPosition setElementInterior setElementDimension Tadaa. And now Aurora is back again, pm for more info. Ex. Lead dev & L6 Staff at AUR, NGC, MTA RP & SAA. Ex. Developer at Community of Social Gamers - CSG Ex Founder of International Gaming Community - IGC and Union of Individual Players- UIP Ab-47
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