From Official DarkRP Wiki
Revision as of 14:21, 31 October 2015 by DarkRPBot (talk | contribs) (Wikibot updated DarkRP documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.