- Documentation
- Client functions
- fxAddWaterHydrant
Function
fxAddWaterHydrant
A one-shot particle effect: a hydrant water jet.
Syntax
bool fxAddWaterHydrant(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)
fxAddWaterHydrant(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.