FxAddGunshot
From Multi Theft Auto: Wiki
This function creates a gunshot particle effect.
Syntax
Required Arguments
- posX, posY, posZ: the world coordinates where the effect originates.
- dirX, dirY, dirZ: a direction vector indicating where the bullet is fired.
Optional Arguments
NOTE: When using optional arguments, you must supply all arguments before the one you wish to use. For more information on optional arguments, see Optional Arguments.
- includeSparks: A bool representing whether the particle effect will generate sparks.
Returns
Returns a true if the operation was successful, false otherwise.
Example
This page lacks an example
--add an example here