GetWeaponTarget: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
===Returns===
===Returns===
Returns the ''target element'' of the custom weapon, ''false'' otherwise.
Returns the ''target element'' of the custom weapon, ''false'' otherwise.
==Example==
TODO
<syntaxhighlight lang="lua">
--TODO
</syntaxhighlight>


==Requirements==
==Requirements==

Revision as of 13:01, 17 September 2012

Get the target of the custom weapon.

Syntax

element getWeaponTarget ( weapon theWeapon )

Required Arguments

  • theWeapon: The weapon to get the target of.

Returns

Returns the target element of the custom weapon, false otherwise.

Example

TODO

--TODO

Requirements

This template will be deleted.

See Also