FxAddFootSplash
<pageclass class="client" subcaption="Client-side function"></pageclass> <lowercasetitle></lowercasetitle>

This function creates a foot splash particle effect, normally created when walking into water.
Syntax
bool fxAddFootSplash ( 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
Returns a true if the operation was successful, false otherwise.
Example
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)
</section>
See Also
- createEffect
- fxAddBlood
- fxAddBulletImpact
- fxAddBulletSplash
- fxAddDebris
- fxAddFootSplash
- fxAddGlass
- fxAddGunshot
- fxAddPunchImpact
- fxAddSparks
- fxAddTankFire
- fxAddTyreBurst
- fxAddWaterHydrant
- fxAddWaterSplash
- fxAddWood
- getEffectDensity
- getEffectSpeed
- setEffectDensity
- setEffectSpeed