FiveM Docs / Native Reference
API Set:
  • all
  • server
  • client
Language:
  • raw
  • lua
  • c#
  • js
Namespace: ENTITYAPI set: clientGame: gta5editImprove

GET_ENTITY_MODEL

0x9F47B058362C84B5
0xDAFCB3EC
// GetEntityModel
Hash GET_ENTITY_MODEL(Entity entity);
Parameters:
  • entity:

    The entity to get the model for.

Returns:

The model hash of the entity.

Returns the model hash from an entity.

Examples:

  • Lua
  • JavaScript
  • C#
local hash = GetEntityModel(PlayerPedId())

if hash == `mp_m_freemode_01` then
    print("This player is using the male freemode model.")
end
Privacy
•
Cookie Policy
•
Cookie Settings
0x5C41E6BABC9E2112(Any p0)
0x5C48A1D6E3B33179(Cam cam)
0x5D96CFB59DA076A0(Vehicle vehicle, int p1, float p2)
0x62374889A4D59F72()
0x62ECFCFDEE7885D6()
0x705A276EBFF3133D()
0x7295C203DD659DFE()
0x91EF6EE6419E5B97(BOOL p0)
0x9DFE13ECDC1EC196(BOOL p0, BOOL p1)
0x9F97DA93681F87EA()
0xA2767257A320FC82(Any p0, BOOL p1)
0xA7092AFE81944852()
0xAABD62873FFB1A33(Any p0, Any p1)
0xB1381B97F70C7B30()
0xBF72910D0F26F025()
0xC8391C309684595A()
0xC8B5C4A79CC18B94(Cam cam)
0xCCD078C2665D2973(BOOL p0)
0xCED08CBE8EBB97C7(float p0, float p1)
0xDB90C6CCA48940F1(BOOL p0)
0xDD79DF9F4D26E1C9()
0xE111A7C0D200CBC5(Any p0, float p1)
0xF55E4046F6F831DC(Any p0, float p1)
0xFD3151CD37EA2245(Entity entity)
Namespace: CLOCK
ADD_TO_CLOCK_TIME(int hours, int minutes, int seconds)
ADVANCE_CLOCK_TIME_TO(int hour, int minute, int second)
GET_CLOCK_DAY_OF_MONTH()
GET_CLOCK_DAY_OF_WEEK()
GET_CLOCK_HOURS()
GET_CLOCK_MINUTES()
GET_CLOCK_MONTH()
GET_CLOCK_SECONDS()
GET_CLOCK_YEAR()
GET_LOCAL_TIME(int* year, int* month, int* day, int* hour, int* minute, int* second)