From 968949f77a2933f3243c47678183c340a2bc7488 Mon Sep 17 00:00:00 2001 From: "Ben Russell (300178622)" Date: Tue, 19 Feb 2013 16:02:09 +1300 Subject: [PATCH] updated docs --- docs/modding_lua.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/modding_lua.txt b/docs/modding_lua.txt index 17948c7..740cabe 100644 --- a/docs/modding_lua.txt +++ b/docs/modding_lua.txt @@ -95,10 +95,11 @@ client.hook_render = fn() @ this is the only place where it is safe to render stuff such as models and HUDs and whatnot -client.hook_key = fn(key, state, modif) @ +client.hook_key = fn(key, state, modif, uni) @ sets a hook called every time a key changes state is either true or false + uni is an index of a unicode character, which is 0 if there is no unicode decoding client.hook_mouse_button = fn(button, state) @ sets a hook called every time a mouse button changes