Feche1320 Posted March 17, 2012 Posted March 17, 2012 Is there any way to get all server commands? I tried this _addCommandHandler = addCommandHandler function addCommandHandler(cmd, ...) addCommandHandler(cmd, ...) table.insert(sCmds, cmd) end But I get stack overflows.. www.host-ar.com.ar
Castillo Posted March 17, 2012 Posted March 17, 2012 _addCommandHandler = addCommandHandler function addCommandHandler( cmd, ... ) _addCommandHandler(cmd, ...) -- You have to call the function saved on the variable, else it'll make a stack overflow. table.insert(sCmds, cmd) end San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Castillo Posted March 17, 2012 Posted March 17, 2012 You're welcome. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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