Entity::handle

From RAGE Multiplayer Wiki
Revision as of 03:20, 3 October 2020 by Lovesmurf (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 JavaScript



Returns an entity handle

JavaScript Syntax

Syntax

entity.handle

Required Arguments

  • entity: Player / Object / Ped

Example

For example, we can get an entity handle:

Client-Side
mp.gui.chat.push(`${entity.handle}`);


See Also