Moderators IIYAMA Posted January 8, 2013 Moderators Posted January 8, 2013 Check when you start a map, not a gamemode or script. https://wiki.multitheftauto.com/wiki/OnResourceStart I need to use the "type" written in the meta* function resourcecheck ( res ) end addEventHandler ( "onResourceStart", getRootElement(), resourcecheck ) Must I use the resource "mapmanager" to do that? 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
eAi Posted January 8, 2013 Posted January 8, 2013 https://wiki.multitheftauto.com/wiki/GetResourceInfo
Moderators IIYAMA Posted January 8, 2013 Author Moderators Posted January 8, 2013 Thank you 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