GetWeaponTarget: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} Get the target of the custom weapon. ==Syntax== <syntaxhighlight lang="lua">element getWeaponTarget ( theWeapon )</syntaxhighlight> ===Required Arguments=== * '''theWeapon:''...")
 
No edit summary
Line 4: Line 4:


==Syntax==
==Syntax==
<syntaxhighlight lang="lua">element getWeaponTarget ( theWeapon )</syntaxhighlight>
<syntaxhighlight lang="lua">element getWeaponTarget ( weapon theWeapon )</syntaxhighlight>


===Required Arguments===
===Required Arguments===

Revision as of 23:23, 8 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.

Requirements

This template will be deleted.

See Also