fxAddBulletSplash | Multi Theft Auto: Wiki Skip to content

fxAddBulletSplash

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This function creates a bullet splash particle effect, normally created when shooting into water.

Syntax

fxAddBulletSplash ( )

Code Examples

client

This example will add a Bullet Splash Effect next to your player when typing/bsplashin the Chatbox.

addCommandHandler("bsplash", function()
local x, y, z = getElementPosition(localPlayer)
local gz = getGroundPosition(x, y, z)
fxAddBulletSplash(x, y, gz)
end)