Entity::handle: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "{{Incomplete Functions}}")
 
No edit summary
 
Line 1: Line 1:
{{Incomplete Functions}}
__TOC__
{{ClientsideJsFunction}}
 
Returns an entity handle
 
{{JSContainer|
==Syntax==
<pre>
entity.handle
</pre>
 
===Required Arguments===
*'''entity:''' Player / Object / Ped
 
==Example==
For example, we can get an entity handle:
 
{{ClientsideCode|
<pre>
mp.gui.chat.push(`${entity.handle}`);
</pre>
}}
}}
 
==See Also==
{{Blip_definition}}

Latest revision as of 03:20, 3 October 2020

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