Difference between revisions of "SET ANIM GROUP FOR CHAR"
Jump to navigation
Jump to search
(Created page with "{{Native |np=2 |p1t=Handle |p1d=Ped Handle |p2t=string |p2d=Unknown (Anim ?) }} The results of this function are either unknown or untested.") |
|||
Line 4: | Line 4: | ||
|p1d=Ped Handle | |p1d=Ped Handle | ||
|p2t=string | |p2t=string | ||
− | |p2d= | + | |p2d=anim group |
}} | }} | ||
− | + | to set walking style or something else | |
+ | |||
+ | example RequestAnims("move_injured_generic") | ||
+ | while not HaveAnimsLoaded("move_injured_generic") do Wait(0) end | ||
+ | SetAnimGroupForChar(GetPlayerPed(), "move_injured_generic") |
Revision as of 08:46, 29 June 2021
Number of parameters: 2 | ||
---|---|---|
Parameter # | Type | Description |
1. | Handle | Ped Handle |
2. | string | anim group |
Return value: | ||
Type | Description | |
None |
to set walking style or something else
example RequestAnims("move_injured_generic") while not HaveAnimsLoaded("move_injured_generic") do Wait(0) end SetAnimGroupForChar(GetPlayerPed(), "move_injured_generic")