mirror of
https://github.com/APercy/airutils.git
synced 2025-03-23 03:12:20 +00:00
added support for emote
This commit is contained in:
parent
ba9ea7f8eb
commit
c77ef0cc9e
2 changed files with 2 additions and 1 deletions
1
init.lua
1
init.lua
|
@ -382,4 +382,5 @@ end
|
||||||
function airutils.sit(player)
|
function airutils.sit(player)
|
||||||
--set_animation(frame_range, frame_speed, frame_blend, frame_loop)
|
--set_animation(frame_range, frame_speed, frame_blend, frame_loop)
|
||||||
player:set_animation({x = 81, y = 160},30, 0, true)
|
player:set_animation({x = 81, y = 160},30, 0, true)
|
||||||
|
if emote then emote.start(player:get_player_name(), "sit") end
|
||||||
end
|
end
|
||||||
|
|
2
mod.conf
2
mod.conf
|
@ -2,4 +2,4 @@ name = airutils
|
||||||
title=AirUtils
|
title=AirUtils
|
||||||
description=A lib for airplanes and some useful tools
|
description=A lib for airplanes and some useful tools
|
||||||
author=apercy
|
author=apercy
|
||||||
optional_depends=player_api
|
optional_depends=player_api, emote
|
||||||
|
|
Loading…
Add table
Reference in a new issue