Creating an own server? Wanna learn how to create your own GM commands? Check this!
Code:function example_lua_command(player, args, type) log("Somebody typed luaexample, args: %s, type: %d, Player Security: %d", args, type, player:GetSecurity()) return true -- This means that the command text won't be actually said... experiment with making this false end register_lua_script_command(".luaexample", "example_lua_command")
NO CREDITS TO ME!!



Reply With Quote

