Entity::getPopulationType

From RAGE Multiplayer Wiki
Revision as of 23:42, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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