aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_localplayer.h
diff options
context:
space:
mode:
authorcorarona <email@example.com>2020-10-27 15:36:07 +0100
committercorarona <email@example.com>2020-10-27 15:36:07 +0100
commit28f6a79706b088c37268a59d90878220dc4ef9c7 (patch)
treec4f85c2499f3a21fb41d752fb107ba234637b76a /src/script/lua_api/l_localplayer.h
parent4f9797b6e87f62050863f5b17917603290f260c4 (diff)
downloaddragonfireclient-28f6a79706b088c37268a59d90878220dc4ef9c7.tar.xz
lua api: add set/get_pitch
Diffstat (limited to 'src/script/lua_api/l_localplayer.h')
-rw-r--r--src/script/lua_api/l_localplayer.h6
1 files changed, 6 insertions, 0 deletions
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);