The FiveM developer’s field guide
Know the native.
Build the world.
Engine functions, framework docs, and game assets.
One reference. From the first lookup to the last line.
knowledge base
Explore / FiveM
Native reference
- ENTITYvoid
SET_ENTITY_MAX_HEALTH
``` For instance: ENTITY::SET_ENTITY_MAX_HEALTH(PLAYER::PLAYER_PED_ID(), 200); // director_mode.c4: 67849 ```
0x166E7CF68597D8B5 - ENTITYvoid
SET_ENTITY_MAX_SPEED
Description not yet documented
0x0E46A3FCBDE2A1B1 - ENTITYvoid
SET_ENTITY_MOTION_BLUR
Description not yet documented
0x295D82A8559F9150 - ENTITYvoid
SET_ENTITY_NO_COLLISION_ENTITY
``` Calling this function disables collision between two entities. The importance of the order for entity1 and entity2 is unclear. The third parameter, `thisFrame`, decides whether the collision is to be disabled until it is turned back on, or if it's just this frame. ```
0xA53ED5520C07654A - ENTITYvoid
_SET_ENTITY_NO_COLLISION_WITH_NETWORKED_ENTITY
``` NativeDB Introduced: v3407 ```
0x0A27A7827347B3B1 - ENTITYvoid
SET_ENTITY_ONLY_DAMAGED_BY_PLAYER
Description not yet documented
0x79F020FF9EDC0748 - ENTITYvoid
SET_ENTITY_ONLY_DAMAGED_BY_RELATIONSHIP_GROUP
Description not yet documented
0x7022BD828FA0B082 - ENTITYvoid
SET_ENTITY_PROOFS
``` Enable / disable each type of damage. -------------- p7 is to to '1' in am_mp_property_ext/int: entity::set_entity_proofs(uParam0->f_19, true, true, true, true, true, true, 1, true); ```
0xFAEE099C6F890BB8 - ENTITYvoid
SET_ENTITY_QUATERNION
``` w is the correct parameter name! ```
0x77B21BE7AC540F07 - ENTITYvoid
SET_ENTITY_RECORDS_COLLISIONS
Description not yet documented
0x0A50A1EEDAD01E65 - ENTITYvoid
SET_ENTITY_RENDER_SCORCHED
Description not yet documented
0x730F5F8D3F0F2050 - ENTITYvoid
SET_ENTITY_REQUIRES_MORE_EXPENSIVE_RIVER_CHECK
Description not yet documented
0x694E00132F2823ED - ENTITYvoid
SET_ENTITY_ROTATION
Sets the rotation of a specified entity in the game world. ``` NativeDB Introduced: v323 ```
0x8524A8B0171D5E07 - ENTITYvoid
SET_ENTITY_TRAFFICLIGHT_OVERRIDE
Changing traffic-lights will not change the behavior of NPCs. Example: [here](https://www.gtaforums.com/topic/830463-help-with-turning-lights-green-and-causing-peds-to-crash-into-each-other/#entry1068211340) ```cpp enum eTrafficlightOverrideMode { TLO_RED = 0, TLO_AMBER = 1, TLO_GREEN = 2, TLO_NONE = 3 } ```
0x57C5DB656185EAC4 - ENTITYvoid
SET_ENTITY_VELOCITY
``` Note that the third parameter(denoted as z) is "up and down" with positive numbers encouraging upwards movement. ```
0x1C99BB7B6E96D16F - ENTITYvoid
SET_ENTITY_VISIBLE
Toggle the visibility of a given entity.
0xEA1C610A04DB6BBB - ENTITYvoid
SET_OBJECT_AS_NO_LONGER_NEEDED
``` This is an alias of SET_ENTITY_AS_NO_LONGER_NEEDED. ```
0x3AE22DEB5BA5A3E6 - ENTITYvoid
SET_PED_AS_NO_LONGER_NEEDED
``` This is an alias of SET_ENTITY_AS_NO_LONGER_NEEDED. ```
0x2595DD4236549CE3 - ENTITYvoid
SET_PICK_UP_BY_CARGOBOB_DISABLED
Configures an entity to either allow or prevent it from being picked up by Cargobobs. ``` NativeDB Introduced: v1180 ```
0xD7B80E7C3BEFC396 - ENTITYvoid
SET_VEHICLE_AS_NO_LONGER_NEEDED
``` This is an alias of SET_ENTITY_AS_NO_LONGER_NEEDED. ```
0x629BFA74418D6239 - ENTITYvoid
SET_WAIT_FOR_COLLISIONS_BEFORE_PROBE
``` SET_* Only called within 1 script for x360. 'fm_mission_controller' and it used on an object. Ran after these 2 natives, set_object_targettable(uParam0, 0); set_entity_invincible(uParam0, 1); ```
0xDC6F8601FAF2E893 - ENTITYAny
STOP_ENTITY_ANIM
``` RAGEPluginHook list: docs.ragepluginhook.net/html/62951c37-a440-478c-b389-c471230ddfc5.htm ```
0x28004F88151E03E0 - ENTITYBOOL
STOP_SYNCHRONIZED_ENTITY_ANIM
``` p1 sync task id? ```
0x43D3807C077261E3 - ENTITYBOOL
STOP_SYNCHRONIZED_MAP_ENTITY_ANIM
Description not yet documented
0x11E79CAB7183B6F5 - ENTITYBOOL
WOULD_ENTITY_BE_OCCLUDED
Description not yet documented
0xEE5D2A122E09EC42
A living reference. Documentation coverage varies by native and source.