_CREATE_SHOCKING_EVENT
Hash
0xCA1315C33B9A2847Runtime name
CreateShockingEventNamespaceEVENT
SideClient
NameCommunity guess
Docs
Since build1207
Signature
ScrHandle _CREATE_SHOCKING_EVENT(Any* args);Parameters
| Name | Type | Description |
|---|---|---|
args | Any* | — |
Returns ScrHandle
Usage
local retval, args = CreateShockingEvent(args)
-- always works, by hash
local retval, args = Citizen.InvokeNative(0xCA1315C33B9A2847, Citizen.PointerValueIntInitialized(args), Citizen.ResultAsInteger())JavaScript and C#
const [retval, args] = CreateShockingEvent(args);
// by hash
const [retval, args] = Citizen.invokeNative('0xCA1315C33B9A2847', Citizen.pointerValueIntInitialized(args), Citizen.returnResultAnyway(), Citizen.resultAsInteger());var args = new OutputArgument();
int retval = Function.Call<int>((Hash)0xCA1315C33B9A2847, args);
// args.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.
Enums and flags
- eEventType 492 values
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.