Lua Interpreter

How to ?

How to ?

How to create a command ?

function mycmd(sender,command,args)
sv.broadcast(sender.." used mycmd command !");
end
sv.addCommand("mycmd", mycmd);

This is simple. But remember, to use your command, it is '/li mycmd'.

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Jan 23, 2013
Last updated
Feb 04, 2013

Author