From 28f6a79706b088c37268a59d90878220dc4ef9c7 Mon Sep 17 00:00:00 2001 From: corarona Date: Tue, 27 Oct 2020 15:36:07 +0100 Subject: lua api: add set/get_pitch --- src/script/lua_api/l_localplayer.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/script/lua_api/l_localplayer.h') diff --git a/src/script/lua_api/l_localplayer.h b/src/script/lua_api/l_localplayer.h index 8daa901e0..1d7f9fcbd 100644 --- a/src/script/lua_api/l_localplayer.h +++ b/src/script/lua_api/l_localplayer.h @@ -44,6 +44,12 @@ private: // set_yaw(self, yaw) static int l_set_yaw(lua_State *L); + // get_pitch(self) + static int l_get_pitch(lua_State *L); + + // set_pitch(self,pitch) + static int l_set_pitch(lua_State *L); + // get_hp(self) static int l_get_hp(lua_State *L); -- cgit v1.2.3