Functions/DarkRP/Shared/addPlayerGesture
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: | |
BBCode Link: | [b][url=http://wiki.darkrp.com/index.php?title=Functions/DarkRP/Shared/addPlayerGesture]DarkRP.addPlayerGesture[/url][/b] |
Function parameters[edit]
- anim (number)
- text (string)
The gesture enumeration.
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.