_DISASSOCIATE_PROP_FROM_SCENARIO
Removes the prop named propName from the scenario point scenario. Returns true on success.
Signature
BOOL _DISASSOCIATE_PROP_FROM_SCENARIO(int scenario, const char* propName); // 0x6EF4E31B4D5D2DA0 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | scenario | int |
| 2 | propName | const char* |
Facts
| Name | _DISASSOCIATE_PROP_FROM_SCENARIO |
|---|---|
| Hash | 0x6EF4E31B4D5D2DA0 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x6EF4E31B4D5D2DA0, -- _DISASSOCIATE_PROP_FROM_SCENARIO
0, -- int scenario
"text" -- const char* propName
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x6EF4E31B4D5D2DA0", // _DISASSOCIATE_PROP_FROM_SCENARIO
0, // int scenario
"text", // const char* propName
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x6EF4E31B4D5D2DA0, // _DISASSOCIATE_PROP_FROM_SCENARIO
0, // int scenario
"text" // const char* propName
);Related TASK natives
- _ASSOCIATE_PROP_WITH_SCENARIO
- GET_PROP_FOR_SCENARIO_POINT
- _DELETE_PATCH_OBJECTS_FROM_HERB_COMPOSITES
- _DELETE_SCENARIO_POINT
- _DOES_SCENARIO_GROUP_EXIST_HASH
- _DOES_SCENARIO_POINT_HAVE_PROPS
- _CALCULATE_WAYPOINT_DISTANCE_FROM_START
- _GET_ITEM_INTERACTION_ENTITY_FROM_PED
- _GET_LED_HORSE_FROM_PED
- _GET_LINKED_SCENARIO_POINTS
- _GET_PED_USING_SCENARIO_POINT
- _GET_RANSACK_SCENARIO_CONTAINER_NUM_COMPARTMENTS
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.