fxAddPunchImpact | Multi Theft Auto: Wiki Skip to content

fxAddPunchImpact

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 punch impact particle effect (a small dust cloud).

Syntax

fxAddPunchImpact ( )

Code Examples

client

This example will create a Punch Impact Effect next to you when typing/pimpactin the Chatbox.

addCommandHandler("pimpact", function()
local x, y, z = getElementPosition(localPlayer)
local gz = getGroundPosition(x, y, z)
fxAddPunchImpact(x, y, gz, 0, 0, 0)
end)