Functions/DarkRP/Shared/addPlayerGesture

From DarkRP
Jump to navigation Jump to search
Function
Function name DarkRP.addPlayerGesture(number anim, string text)
Description:
Add a player gesture to the DarkRP animations menu (the one that opens with the keys weapon.). Note: This function must be called BOTH serverside AND clientside!
Returns: nil
Part of Library: DarkRP
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/addPlayerGesture]DarkRP.addPlayerGesture[/url][/b]

Function parameters[edit]

  1. anim (number)
  2. The gesture enumeration.

  3. text (string)
  4. The textual description of the animation. This is what players see on the button in the menu.


Function return values[edit]

This function does not return any value.