UsePlayerPedAnims

From SA-MP Wiki

(Difference between revisions)
Jump to: navigation, search
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).


Image:32px-Circle-style-warning.png

Important
Note

Only works when placed under "OnGameModeInit"!
Image:32px-Ambox_warning_orange.png

Note

Not using this function causes two-handed weapons to be held in only one hand.


Parameters:
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.

In other languages