MisterQuestions Posted February 27, 2015 Share Posted February 27, 2015 Hey i have some dudes and this is some code tell me if it is correct please i never worked with meta settings u.u --//Getting it from a specific resource. --//get("[Access]"..[resource]..".settingName") setting = get("#"..resource..".settingName") Link to comment
xXMADEXx Posted February 27, 2015 Share Posted February 27, 2015 Just use: setting = get ( "#settingName" ); Link to comment
MisterQuestions Posted February 27, 2015 Author Share Posted February 27, 2015 But im getting from another resource Still like that? Or the way i done it? Link to comment
JR10 Posted February 27, 2015 Share Posted February 27, 2015 This should help: https://wiki.multitheftauto.com/wiki/Se ... ting_names To get a setting from a different resource you need: get("resourceName.settingName") For different access modifiers, check the link. Link to comment
MisterQuestions Posted February 27, 2015 Author Share Posted February 27, 2015 Hmmm, so like i done it it was correct, just i dindt define "resource". Link to comment
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