{"hash":"0xE5E9EBBB","ns":"CFX","name":"GET_CURRENT_RESOURCE_NAME","slug":"GET_CURRENT_RESOURCE_NAME","official":true,"named":true,"luaName":"GetCurrentResourceName","game":"cfx","apiset":"shared","returnType":"char*","params":[],"returnsDescription":"The name of the resource.","summary":"Returns the name of the currently executing resource.","descriptions":[{"source":"cfx","format":"md","body":"Returns the name of the currently executing resource."}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/GET_CURRENT_RESOURCE_NAME","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/GET_CURRENT_RESOURCE_NAME.md","snippets":{"lua":"local retval = GetCurrentResourceName()","luaInvoke":"local retval = Citizen.InvokeNative(0xe5e9ebbb, Citizen.ResultAsString())","js":"const retval = GetCurrentResourceName();","jsInvoke":"const retval = Citizen.invokeNative('0xe5e9ebbb', Citizen.returnResultAnyway(), Citizen.resultAsString());","csharp":"string retval = Function.Call<string>((Hash)0xe5e9ebbb);","notes":[]}}