Difference between revisions of "SET ANIM GROUP FOR CHAR"

From GTAMods Wiki
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=Unknown (Anim ?)
+
|p2d=anim group
 
}}
 
}}
  
The results of this function are either unknown or untested.
+
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

SET_ANIM_GROUP_FOR_CHAR
Number of parameters: 2
Parameter #TypeDescription
1.HandlePed Handle
2.stringanim group
Return value:
TypeDescription
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")