GameEntity::getProofs: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''entity:''' {{RageType|number}} ===Return value=== *''' {{RageType|GetEntityProofsResult}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.entity.getProofs(entity) </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Entity_functions_c}} Category:Clientside API Category:TODO: Example")
 
No edit summary
Line 7: Line 7:


===Return value===
===Return value===
*''' {{RageType|GetEntityProofsResult}} '''
<pre>
 
{
    bulletProof: boolean;
    fireProof: boolean;
    explosionProof: boolean;
    collisionProof: boolean;
    meleeProof: boolean;
    steamProof: boolean;
    p7: boolean;
    drownProof: boolean;
    result: boolean;
}
</pre>
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">

Revision as of 11:34, 10 May 2024

Client-Side
Function

 JavaScript



JavaScript Syntax


Required Params

  • entity: number

Return value

{
    bulletProof: boolean;
    fireProof: boolean;
    explosionProof: boolean;
    collisionProof: boolean;
    meleeProof: boolean;
    steamProof: boolean;
    p7: boolean;
    drownProof: boolean;
    result: boolean;
}

Syntax

mp.game.entity.getProofs(entity)

Example

//todo


See also