fxAddTyreBurst | Multi Theft Auto: Wiki Skip to content

fxAddTyreBurst

Client-side
Server-side
Shared

Manual Review Required

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


Creates a tyre burst particle effect (a small white smoke puff).

OOP Syntax Help! I don't understand this!

Syntax

bool fxAddTyreBurst ( float posX, float posY, float posZ, float dirX, float dirY, float dirZ )
Required Arguments
  • posX: MISSING_PARAM_DESC
  • posY: MISSING_PARAM_DESC
  • posZ: MISSING_PARAM_DESC
  • dirX: MISSING_PARAM_DESC
  • dirY: MISSING_PARAM_DESC
  • dirZ: MISSING_PARAM_DESC

Returns

  • bool: value

Returns a true if the operation was successful, false otherwise.

Code Examples

shared

This example will create a Tyre Burst Effect next to you when typing/tyreburstin the Chatbox.

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