Exported client functions to lua, going to work on npc next