fxAddWood | Multi Theft Auto: Wiki Skip to content

fxAddWood

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.


Creates a wood splinter particle effect.

Syntax

fxAddWood ( )

Code Examples

client

This example will create a Wood Effect next to you when typing/woodfxin the Chatbox.

addCommandHandler("woodfx", function()
local x, y, z = getElementPosition(localPlayer)
local gz = getGroundPosition(x, y, z)
fxAddWood(x, y, gz+0.4, 0, 0, 0, math.random(3, 6), 0.7)
end)