_ADD_SCRIPTED_COVER_POINT
Creates a script-defined cover point from the data structure and returns its handle.
Signature
ScrHandle _ADD_SCRIPTED_COVER_POINT(Any* data); // 0x975BD6351648935F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | data | Any* (out pointer) |
Facts
| Name | _ADD_SCRIPTED_COVER_POINT |
|---|---|
| Hash | 0x975BD6351648935F |
| Namespace | |
| Returns | ScrHandle |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local scrHandle, data = Citizen.InvokeNative(0x975BD6351648935F, -- _ADD_SCRIPTED_COVER_POINT
Citizen.PointerValueInt(), -- Any* data
Citizen.ResultAsInteger()
)
print(scrHandle, data)const [scrHandle, data] = Citizen.invokeNative("0x975BD6351648935F", // _ADD_SCRIPTED_COVER_POINT
Citizen.pointerValueInt(), // Any* data
Citizen.resultAsInteger()
);
console.log(scrHandle, data)var dataArg = new OutputArgument();
int scrHandle = Function.Call<int>((Hash)0x975BD6351648935F, // _ADD_SCRIPTED_COVER_POINT
dataArg // Any* data
);
int data = dataArg.GetResult<int>();Related AICOVERPOINT natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.