core.plugins.animations.sv_init
Lime-Animations - Fully featured animations plugin.
- ServerlimeAnimation.animByItemCat(cat) → stringSource ☍
-
Helper function to return the correct animation to use based on item category when giving an item
Parameters
- catanyThe item category
Returns
- string
- ServerlimeAnimation.current(ply) → unknownSource ☍
-
Get current animation.
Parameters
- plyanyThe player entity
Returns
- unknownWhether animation is running.
- ServerlimeAnimation.get(animation) → booleanSource ☍
-
Get an animation from animations table.
Parameters
- animationanyThe animation name.
Returns
- booleanfalse.
- ServerlimeAnimation.run(ply, animation, timeout, timeoutFn)Source ☍
-
Run an animation on a specific player.
Parameters
- plyanyThe player entity
- animationanyThe animation name
- timeoutanyThe timeout function timeout.
- timeoutFnanyThe timeout function.
- ServerlimeAnimation.stop(ply)Source ☍
-
Stop specific/any animation. Also Fixes /handsdown animation.
Parameters
- plyanyThe player entity
- ServerlimeAnimation.animsSource ☍