Entity::getType: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
 
Line 10: Line 10:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Entity_function_c}}
{{Entity_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 18:04, 1 May 2024

Returns:
0 = no entity
1 = ped
2 = vehicle
3 = object
4 = player

Syntax

entity.getType();

Required Arguments

Return value

  • int

Example

// todo

See also