From Official DarkRP Wiki
Jump to navigation Jump to search
Function name DarkRP.addPlayerGesture(number anim, string text)
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=]DarkRP.addPlayerGesture[/url][/b]

Function parameters

  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

This function does not return any value.