- Documentation
- Client functions
- fxAddBulletSplash
Function
fxAddBulletSplash
A one-shot particle effect: a splash from a shot into water.
Syntax
bool fxAddBulletSplash(float posX, float posY, float posZ)Arguments
posXfloat- X position.
posYfloat- Y position.
posZfloat- Z position.
Returns
true if the effect was created.
Example
bindKey("e", "down", function()
local x, y, z = getElementPosition(localPlayer)
fxAddBulletSplash(x, y, z)
end)
Notes
The game does not draw this yet. The function exists so existing scripts run without errors, but in this version the effect does not appear and the function returns false.