mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 08:01:22 +00:00
added new method to sit the player forcely
This commit is contained in:
parent
50634d69bd
commit
66a9e916b0
1 changed files with 5 additions and 0 deletions
5
init.lua
5
init.lua
|
@ -378,3 +378,8 @@ function airutils.getAngleFromPositions(origin, destiny)
|
|||
if angle_north < 0 then angle_north = angle_north + 360 end
|
||||
return angle_north
|
||||
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)
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue