fxAddBulletSplash
Client-side
Server-side
Shared
This function creates a bullet splash particle effect, normally created when shooting into water.
OOP Syntax Help! I don't understand this!
- Method:Effect.addBulletSplash(...)
Syntax
bool fxAddBulletSplash ( float posX, float posY, float posZ )Required Arguments
- posX: A float representing the X position of the splash.
- posY: A float representing the Y position of the splash.
- posZ: A float representing the Z position of the splash.
Returns
- bool: result
Returns a true if the operation was successful, false otherwise.
Code Examples
client
This example will add a Bullet Splash Effect next to your player when typing /bsplash in the chatbox.
addCommandHandler("bsplash", function() local x, y, z = getElementPosition(localPlayer) local gz = getGroundPosition(x, y, z) fxAddBulletSplash(x, y, gz)end)
