{"hash":"0x53BA259F3A67A99E","ns":"FIRE","name":"ADD_EXPLOSION_WITH_USER_VFX","slug":"ADD_EXPLOSION_WITH_USER_VFX","official":true,"named":true,"luaName":"AddExplosionWithUserVfx","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"explosionType","type":"int"},{"name":"explosionFx","type":"Hash"},{"name":"damageScale","type":"float"},{"name":"isAudible","type":"BOOL"},{"name":"isInvisible","type":"BOOL"},{"name":"cameraShake","type":"float"}],"summary":"Changes explosionFx (Visual Effect) for specified explosionType","descriptions":[{"source":"alloc8or","format":"text","body":"Changes explosionFx (Visual Effect) for specified explosionType\nexplosionType: see ADD_EXPLOSION\nexplosionFx: https://github.com/femga/rdr3_discoveries/blob/master/graphics/explosions/explosion_vfxTags.lua"},{"source":"vorp","format":"text","body":"explosionType: see ADD_EXPLOSION\nChange explosionFx (Visual Effect) for specified explosionType"}],"examples":[],"aliases":[],"enums":["eExplosionTag"],"related":[],"build":"1207","gtaHash":"0x36DD3FE58B5E5212","gtaJhash":"0xCF358946","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/FIRE/ADD_EXPLOSION_WITH_USER_VFX","markdownUrl":"https://natives.borderlinerp.com/natives/FIRE/ADD_EXPLOSION_WITH_USER_VFX.md","snippets":{"lua":"AddExplosionWithUserVfx(x, y, z, explosionType, explosionFx, damageScale, isAudible, isInvisible, cameraShake)","luaInvoke":"Citizen.InvokeNative(0x53BA259F3A67A99E, x, y, z, explosionType, explosionFx, damageScale, isAudible, isInvisible, cameraShake)","js":"AddExplosionWithUserVfx(x, y, z, explosionType, explosionFx, damageScale, isAudible, isInvisible, cameraShake);","jsInvoke":"Citizen.invokeNative('0x53BA259F3A67A99E', x + 0.0000001, y + 0.0000001, z + 0.0000001, explosionType, explosionFx, damageScale + 0.0000001, isAudible, isInvisible, cameraShake + 0.0000001);","csharp":"Function.Call((Hash)0x53BA259F3A67A99E, x, y, z, explosionType, explosionFx, damageScale, isAudible, isInvisible, cameraShake);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}