MisterQuestions Posted February 27, 2015 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") "El conocimiento jamás debe detenerse, por que es lo único que nos salvará cuando no nos quede más". Att: -|TG|-Mister[Q]<.
xXMADEXx Posted February 27, 2015 Posted February 27, 2015 Just use: setting = get ( "#settingName" ); The Ultimate Lua Tutorial! | MTA PHP SDK
MisterQuestions Posted February 27, 2015 Author Posted February 27, 2015 But im getting from another resource Still like that? Or the way i done it? "El conocimiento jamás debe detenerse, por que es lo único que nos salvará cuando no nos quede más". Att: -|TG|-Mister[Q]<.
JR10 Posted February 27, 2015 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. Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
MisterQuestions Posted February 27, 2015 Author Posted February 27, 2015 Hmmm, so like i done it it was correct, just i dindt define "resource". "El conocimiento jamás debe detenerse, por que es lo único que nos salvará cuando no nos quede más". Att: -|TG|-Mister[Q]<.
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