FxAddTankFire: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{Client function}}  
{{Client function}}
[[Image:Fxtankfire.png|thumb|200px|Tank fire]]
This function creates a tank firing particle effect.
This function creates a tank firing particle effect.



Revision as of 18:19, 22 January 2010

Tank fire

This function creates a tank firing particle effect.

Syntax

bool fxAddTankFire ( 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 direction vector indicating where the tank fire is directed to.

Returns

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

Example

This page lacks an example

--add an example here

See Also