GetProjectileTarget: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with '__NOTOC__ {{Client function}} This function returns the target of the specified projectile. ==Syntax== <syntaxhighlight lang="lua"> int getProjectileTarget ( projectile theProjectile ) </syntaxhighlight>…')
 
No edit summary
Line 5: Line 5:
==Syntax==
==Syntax==
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
int getProjectileTarget ( projectile theProjectile )
element getProjectileTarget ( projectile theProjectile )
</syntaxhighlight>
</syntaxhighlight>



Revision as of 09:26, 19 April 2010

This function returns the target of the specified projectile.

Syntax

element getProjectileTarget ( projectile theProjectile )

Required Arguments

  • theProjectile: The projectile element which target you want to retrieve.

Returns

Returns the element which is the projectile's target if the projectile is valid and a HS Rocket Projectile, false otherwise.

Example

-- TODO

See also