GetProjectileTarget

From Multi Theft Auto: Wiki
Revision as of 19:23, 18 April 2010 by Gamesnert (talk | contribs) (Created page with '__NOTOC__ {{Client function}} This function returns the target of the specified projectile. ==Syntax== <syntaxhighlight lang="lua"> int getProjectileTarget ( projectile theProjectile ) </syntaxhighlight>…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function returns the target of the specified projectile.

Syntax

int 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