Weapon::hasPedGot

From RAGE Multiplayer Wiki
Revision as of 10:24, 1 May 2024 by Shr0x (talk | contribs) (Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''ped:''' {{RageType|number}} *'''weaponHash:''' {{RageType|number}} *'''p2:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.weapon.hasPedGot(ped, weaponHash, p2) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Weapon_s_function_c}} Category:Clientside API [...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 JavaScript



JavaScript Syntax


Required Params

  • ped: number
  • weaponHash: number
  • p2: boolean

Return value

  • boolean

Syntax

mp.game.weapon.hasPedGot(ped, weaponHash, p2)

Example

//todo


See also