.:HyPeX:. Posted March 26, 2014 Posted March 26, 2014 Hey guys, how could i clone a function down?? Should it be like this? MySetAccountData = setAccountData i also thought about this, but could be harder and longer: function MySetAccountData(acc, data, val) local Return = setAccountData(acc, data, val) return Return end Thanks HyPeX
WhoAmI Posted March 26, 2014 Posted March 26, 2014 accountData = setAccountData accountData ( account, string, value )
.:HyPeX:. Posted March 26, 2014 Author Posted March 26, 2014 accountData = setAccountData accountData ( account, string, value ) Thanks!
WhoAmI Posted March 27, 2014 Posted March 27, 2014 You're welcome. But I got no idea for what are you doing this?
.:HyPeX:. Posted March 27, 2014 Author Posted March 27, 2014 You're welcome. But I got no idea for what are you doing this? I'm planning on creating a resource wich would let you have all server-side functions client-side by using exports.
Jusonex Posted March 27, 2014 Posted March 27, 2014 I'd strongly recommand you not to do this. If some gains control over the client and is able to execute clientside Lua code, he'll be able to execute almost everything (such as ACL manipulation, shutdown, script stealing etc.)
.:HyPeX:. Posted March 27, 2014 Author Posted March 27, 2014 I'd strongly recommand you not to do this. If some gains control over the client and is able to execute clientside Lua code, he'll be able to execute almost everything (such as ACL manipulation, shutdown, script stealing etc.) i'd just add some functions, not the dangerous ones, imo.
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