fxAddFootSplash | Multi Theft Auto: Wiki Skip to content

fxAddFootSplash

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 foot splash particle effect, normally created when walking into water.

Syntax

fxAddFootSplash ( )

Code Examples

client

This example will create a Foot Splash at the position of the bullet impact whenever you shoot.

addEventHandler("onClientPlayerWeaponFire", root, function(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement)
if weapon == 0 then return end -- If the player is unarmed, return end.
fxAddFootSplash(hitX, hitY, hitZ)
end)