Im looking for a fuction for create an explosion in specific coordinate, any idea?
Use this: Click Here to create a owned explosion.
Or use this: Click Here to create a “world” explosion.
Have a search for “explosion” in the references page…
After a quick search, I found this native:
https://runtime.fivem.net/doc/reference.html#_0xE3AD2BDBAEE269AC
void ADD_EXPLOSION(float x, float y, float z, int explosionType, float damageScale, BOOL isAudible, BOOL isInvisible, float cameraShake);
work fine, but not damage enable ? mmm
What is the difference between AddExplosion and AddOwnedExplosion?
maybe Owned its local and normal in network ? idk
AddOwnedExplosion:
Player XY killed Player YX.
AddExplosion:
Player YX died. Player XY commited suicide. etc.
Did you ever get this fixed? Because I am getting the same issue.
I created a work-around for this issue here after struggling with it myself.