{"hash":"0xD233A168","ns":"CFX","name":"REGISTER_RESOURCE_AS_EVENT_HANDLER","slug":"REGISTER_RESOURCE_AS_EVENT_HANDLER","official":true,"named":true,"luaName":"RegisterResourceAsEventHandler","game":"cfx","apiset":"shared","returnType":"void","params":[{"name":"eventName","type":"char*","description":"An event name, or \"\\*\" to disable HLL event filtering for this resource."}],"summary":"An internal function which allows the current resource's HLL script runtimes to receive state for the specified event.","descriptions":[{"source":"cfx","format":"md","body":"An internal function which allows the current resource's HLL script runtimes to receive state for the specified event."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/REGISTER_RESOURCE_AS_EVENT_HANDLER","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/REGISTER_RESOURCE_AS_EVENT_HANDLER.md","snippets":{"lua":"RegisterResourceAsEventHandler(eventName)","luaInvoke":"Citizen.InvokeNative(0xd233a168, eventName)","js":"RegisterResourceAsEventHandler(eventName);","jsInvoke":"Citizen.invokeNative('0xd233a168', eventName);","csharp":"Function.Call((Hash)0xd233a168, eventName);","notes":[]}}