6,701 Natives
45 Namespaces
6,701 Results
🔍
📋 Natives 6,701 total
SET_ENTITY_AS_NO_LONGER_NEEDED ENTITY 0xB736A491…
SET_PED_AS_NO_LONGER_NEEDED ENTITY 0x2595DD42…
SET_VEHICLE_AS_NO_LONGER_NEEDED ENTITY 0x629BFA74…
SET_OBJECT_AS_NO_LONGER_NEEDED ENTITY 0x3AE22DEB…
SET_ENTITY_CAN_BE_DAMAGED ENTITY 0x1760FFA8…
GET_ENTITY_CAN_BE_DAMAGED ENTITY 0xD95CC5D2…
SET_ENTITY_CAN_BE_DAMAGED_BY_RELATIONSHIP_GROUP ENTITY 0xE22D8FDE…
SET_ENTITY_CAN_ONLY_BE_DAMAGED_BY_SCRIPT_PARTICIPANTS ENTITY 0x352E2B5C…
SET_ENTITY_CAN_BE_TARGETED_WITHOUT_LOS ENTITY 0xD3997889…
SET_ENTITY_COLLISION ENTITY 0x1A9205C1…
GET_ENTITY_COLLISION_DISABLED ENTITY 0xCCF1E97B…
SET_ENTITY_COMPLETELY_DISABLE_COLLISION ENTITY 0x9EBC85ED…
SET_ENTITY_COORDS ENTITY 0x06843DA7…
SET_ENTITY_COORDS_WITHOUT_PLANTS_RESET ENTITY 0x621873EC…
SET_ENTITY_COORDS_NO_OFFSET ENTITY 0x239A3351…
SET_ENTITY_DYNAMIC ENTITY 0x1718DE8E…
SET_ENTITY_HEADING ENTITY 0x8E2530AA…
SET_ENTITY_HEALTH ENTITY 0x6B76DC1F…
SET_ENTITY_INVINCIBLE ENTITY 0x3882114B…
SET_ENTITY_IS_TARGET_PRIORITY ENTITY 0xEA02E132…
SET_ENTITY_LIGHTS ENTITY 0x7CFBA6A8…
SET_ENTITY_LOAD_COLLISION_FLAG ENTITY 0x0DC7CABA…
HAS_COLLISION_LOADED_AROUND_ENTITY ENTITY 0xE9676F61…
SET_ENTITY_MAX_SPEED ENTITY 0x0E46A3FC…
SET_ENTITY_ONLY_DAMAGED_BY_PLAYER ENTITY 0x79F020FF…
SET_ENTITY_ONLY_DAMAGED_BY_RELATIONSHIP_GROUP ENTITY 0x7022BD82…
SET_ENTITY_PROOFS ENTITY 0xFAEE099C…
GET_ENTITY_PROOFS ENTITY 0xBE8CD9BE…
SET_ENTITY_QUATERNION ENTITY 0x77B21BE7…
SET_ENTITY_RECORDS_COLLISIONS ENTITY 0x0A50A1EE…
SET_ENTITY_ROTATION ENTITY 0x8524A8B0…
SET_ENTITY_VISIBLE ENTITY 0xEA1C610A…
SET_ENTITY_WATER_REFLECTION_FLAG ENTITY 0xC34BC448…
SET_ENTITY_MIRROR_REFLECTION_FLAG ENTITY 0xE66377CD…
SET_ENTITY_VELOCITY ENTITY 0x1C99BB7B…
SET_ENTITY_ANGULAR_VELOCITY ENTITY 0x83396434…
SET_ENTITY_HAS_GRAVITY ENTITY 0x4A472244…
SET_ENTITY_DRAWABLE_LOD_THRESHOLDS ENTITY 0xC12A19AC…
SET_ENTITY_LOD_DIST ENTITY 0x5927F96A…
GET_ENTITY_LOD_DIST ENTITY 0x4159C276…
SET_ENTITY_ALPHA ENTITY 0x44A0870B…
GET_ENTITY_ALPHA ENTITY 0x5A47B3B5…
RESET_ENTITY_ALPHA ENTITY 0x9B1E824F…
RESET_PICKUP_ENTITY_GLOW ENTITY 0x490861B8…
SET_PICKUP_COLLIDES_WITH_PROJECTILES ENTITY 0xCEA7C8E1…
SET_ENTITY_SORT_BIAS ENTITY 0x5C3B791D…
SET_ENTITY_ALWAYS_PRERENDER ENTITY 0xACAD101E…
SET_ENTITY_RENDER_SCORCHED ENTITY 0x730F5F8D…
SET_ENTITY_TRAFFICLIGHT_OVERRIDE ENTITY 0x57C5DB65…
SET_ENTITY_IS_IN_VEHICLE ENTITY 0x78E8E3A6…
ENTITY
SET_ENTITY_AS_NO_LONGER_NEEDED
ENTITY::SET_ENTITY_AS_NO_LONGER_NEEDED(Entity* entity)
0xB736A491E64A32CF 📋
📝 Parameters 1
Quick Fill: 💡 Leave empty to use type-hinted values
Entity* entity
(Entity*)
↩️ Return Value
void — Void (no return)
💬 Comment
Marks the specified entity (ped, vehicle or object) as no longer needed if its population type is set to the mission type.
If the entity is ped, it will also clear their tasks immediately just like when CLEAR_PED_TASKS_IMMEDIATELY is called.
Entities marked as no longer needed, will be deleted as the engine sees fit.
Use this if you just want to just let the game delete the ped:
void MarkPedAsAmbientPed(Ped ped) {
auto addr = getScriptHandleBaseAddress(ped);

if (!addr) {
return;
}

//the game uses only lower 4 bits as entity population type
BYTE origValue = *(BYTE *)(addr + 0xDA);
*(BYTE *)(addr + 0xDA) = ((origValue & 0xF0) | ePopulationType::POPTYPE_RANDOM_AMBIENT);
}
ℹ️ Metadata
Build: 323

Copy Native copies the entire native to clipboard (Ex: Namespace::Native(Ped param1, Hash param2))

ENTITY::SET_ENTITY_AS_NO_LONGER_NEEDED(Entity* entity)