Entity::getPopulationType: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
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:09, 1 May 2024

Console Hash: 0xFC30DDFF

Returns range from 0-10

--------------------------------------------------------------

The type name can be retrieved by using this:

typedef LPSTR(__fastcall *GetEntityPopulationTypeName_t)(unsigned __int16 entityPopulationType, bool scriptName);
GetEntityPopulationTypeName_t GetEntityPopulationTypeName = (GetEntityPopulationTypeName_t)FindPattern('44 0F B7 C1 4C 8D 0D ?? ?? ?? ?? 41 83 F8 07');

Syntax

entity.getPopulationType();

Required Arguments

Return value

  • int

Example

// todo

See also