Ped::setCombatAttributes

From RAGE Multiplayer Wiki
Revision as of 09:22, 30 April 2024 by Shr0x (talk | contribs) (Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''ped:''' {{RageType|number}} *'''attributeIndex:''' {{RageType|number}} *'''enabled:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.ped.setCombatAttributes(ped, attributeIndex, enabled) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Ped_s_function_c}} Category...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 JavaScript



JavaScript Syntax


Required Params

  • ped: number
  • attributeIndex: number
  • enabled: boolean

Return value

  • void

Syntax

mp.game.ped.setCombatAttributes(ped, attributeIndex, enabled)

Example

//todo


See also