diff --git a/init.lua b/init.lua index 3f4b78f..293238d 100644 --- a/init.lua +++ b/init.lua @@ -382,4 +382,5 @@ end function airutils.sit(player) --set_animation(frame_range, frame_speed, frame_blend, frame_loop) player:set_animation({x = 81, y = 160},30, 0, true) + if emote then emote.start(player:get_player_name(), "sit") end end diff --git a/mod.conf b/mod.conf index d8fb960..4c41825 100644 --- a/mod.conf +++ b/mod.conf @@ -2,4 +2,4 @@ name = airutils title=AirUtils description=A lib for airplanes and some useful tools author=apercy -optional_depends=player_api +optional_depends=player_api, emote