_MAP_DISCOVER_REGION
Marks the map discovery discoveryHash as discovered.
Signature
void _MAP_DISCOVER_REGION(Hash discoveryHash); // 0xD8C7162AB2E2AF45 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | discoveryHash | Hash |
Facts
| Name | _MAP_DISCOVER_REGION |
|---|---|
| Hash | 0xD8C7162AB2E2AF45 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xD8C7162AB2E2AF45, -- _MAP_DISCOVER_REGION
GetHashKey("name") -- Hash discoveryHash
)Citizen.invokeNative("0xD8C7162AB2E2AF45", // _MAP_DISCOVER_REGION
GetHashKey("name") // Hash discoveryHash
);Function.Call((Hash)0xD8C7162AB2E2AF45, // _MAP_DISCOVER_REGION
(uint)API.GetHashKey("name") // Hash discoveryHash
);Related MAP natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.