Difference between revisions of "FxAddPunchImpact"

From Multi Theft Auto: Wiki
m
Line 12: Line 12:
 
*'''posX, posY, posZ:''' the world coordinates where the effect originates.
 
*'''posX, posY, posZ:''' the world coordinates where the effect originates.
 
*'''dirX, dirY, dirZ:''' a vector indicating the movement direction of the effect.
 
*'''dirX, dirY, dirZ:''' a vector indicating the movement direction of the effect.
 +
 +
===Returns===
 +
Returns a true if the operation was successful, false otherwise.
 +
 +
==Example==
 +
This page lacks an example
 +
<syntaxhighlight lang="lua">
 +
--add an example here
 +
</syntaxhighlight>
  
 
==See Also==
 
==See Also==
 
{{Client Effects functions}}
 
{{Client Effects functions}}
 +
[[Category:Needs_Example]]

Revision as of 12:02, 25 May 2012

Punch impact

Creates a punch impact particle effect (a small dust cloud).

Syntax

bool fxAddPunchImpact ( float posX, float posY, float posZ, float dirX, float dirY, float dirZ )

Required Arguments

  • posX, posY, posZ: the world coordinates where the effect originates.
  • dirX, dirY, dirZ: a vector indicating the movement direction of the effect.

Returns

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

Example

This page lacks an example

--add an example here

See Also