GuyFromPast Posted September 28, 2010 Author Share Posted September 28, 2010 ok trying to do something.. and if lock = {1} then it attaches to command automatically ? i mean it locks command or i have to define more like if lock == {1} then blabla btw i figured out why u dont want to help me because if u dont help me then i stay here longer and u like me probably Link to comment
GuyFromPast Posted September 28, 2010 Author Share Posted September 28, 2010 poor me sorry doublepost ok theres what i did.. tell me please what i did wrong because its not workin on top i added lock = {1} unlock = {0} in function i added lock[source] = {1} setTimer(function() lock = {0} end, 6000, 1) Link to comment
50p Posted September 28, 2010 Share Posted September 28, 2010 So many mistakes in just 2 line... Well, I don't have that much time to explain it all but Lua tutorials is what you're after. Link to comment
Wojak Posted September 28, 2010 Share Posted September 28, 2010 Global Variables http://www.lua.org/pil/1.2.html Local Variables http://www.lua.org/pil/4.2.html Tables http://www.lua.org/pil/2.5.html but you should read everything... (at least to part 3 ) http://www.lua.org/pil/index.html 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