_ADD_SCRIPTED_COVER_POINT
Hash
0x975BD6351648935FRuntime name
AddScriptedCoverPointNamespaceAICOVERPOINT
SideClient
NameCommunity guess
Docs
Since build1207
Signature
ScrHandle _ADD_SCRIPTED_COVER_POINT(Any* data);Parameters
| Name | Type | Description |
|---|---|---|
data | Any* | — |
Returns ScrHandle
Usage
local retval, data = AddScriptedCoverPoint(data)
-- always works, by hash
local retval, data = Citizen.InvokeNative(0x975BD6351648935F, Citizen.PointerValueIntInitialized(data), Citizen.ResultAsInteger())JavaScript and C#
const [retval, data] = AddScriptedCoverPoint(data);
// by hash
const [retval, data] = Citizen.invokeNative('0x975BD6351648935F', Citizen.pointerValueIntInitialized(data), Citizen.returnResultAnyway(), Citizen.resultAsInteger());var data = new OutputArgument();
int retval = Function.Call<int>((Hash)0x975BD6351648935F, data);
// data.GetResult<int>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
Any*arguments are often structs. Build them with a DataView buffer and pass it with:Buffer()— see the examples and notes below.- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.