Entity::handle
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
- Functions
- Properties