ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. fxAddWaterSplash

Function

fxAddWaterSplash

ClientEffectsIdentical to MTA:SA

A one-shot particle effect: a water splash.

Syntax

bool fxAddWaterSplash(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)
    fxAddWaterSplash(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.

See also