UsePlayerPedAnims
From SA-MP Wiki
(Difference between revisions)
Revision as of 04:16, 11 February 2013 Smithy (Talk | contribs) ('like' isn't a professional term (my English teacher told me this xd)) ← Previous diff |
Revision as of 18:03, 4 February 2014 Connor Mead (Talk | contribs) Next diff → |
||
Line 1: | Line 1: | ||
{{Scripting}} | {{Scripting}} | ||
- | {{Title}} | ||
{{Description|Uses standard player walking animation (animation of CJ) instead of custom animations for every skin (e.g. skating for skater skins).}} | {{Description|Uses standard player walking animation (animation of CJ) instead of custom animations for every skin (e.g. skating for skater skins).}} | ||
Line 25: | Line 24: | ||
[[Category:Scripting Functions]] | [[Category:Scripting Functions]] | ||
+ | [[fr:UsePlayerPedAnims]] | ||
[[ru:UsePlayerPedAnims]] | [[ru:UsePlayerPedAnims]] | ||
[[zh:UsePlayerPedAnims]] | [[zh:UsePlayerPedAnims]] |
Revision as of 18:03, 4 February 2014
Description:
Uses standard player walking animation (animation of CJ) instead of custom animations for every skin (e.g. skating for skater skins).
This function has no parameters.
Return Values:
This function does not return any specific values.
public OnGameModeInit() { UsePlayerPedAnims(); return 1; }
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- ApplyAnimation: Apply an animation to a player.
- ClearAnimations: Clear any animations a player is performing.