GetProjectileCreator

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

ID Name/Description
16 Grenade
17 Tear Gas Grenade
18 Molotov
19 Rocket (simple)
20 Rocket (heat seeking)
21 Air Bomb
39 Satchel Charge
58 Hydra flare

This function returns the creator of the specified projectile.

Syntax

int getProjectileCreator ( projectile theProjectile )

Required Arguments

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

Returns

Returns the element which created the projectile if successful, false otherwise.

Example

-- TODO

See also