added support for emote

This commit is contained in:
Alexsandro Percy 2022-12-30 09:20:56 -03:00
parent ba9ea7f8eb
commit c77ef0cc9e
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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