CreateProjectile: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Syntax==
==Syntax==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
bool createProjectile ( element creator, int weapon, [ float x, float y, float z, float force, element target ] )
bool createProjectile ( element creator, int weapon, [ float x=x, float y=y, float z=z, float force=1.0, element target=nil ] )
</syntaxhighlight>
</syntaxhighlight>

Revision as of 00:02, 9 June 2007

Syntax

bool createProjectile ( element creator, int weapon, [ float x=x, float y=y, float z=z, float force=1.0, element target=nil ] )