GetWeaponOwner: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


==Syntax==
==Syntax==
<syntaxhighlight lang="lua">player getWeaponOwner ( theWeapon )</syntaxhighlight>
<syntaxhighlight lang="lua">player getWeaponOwner ( weapon theWeapon )</syntaxhighlight>


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

Revision as of 15:00, 9 September 2013

Get the owner of the custom weapon (used for lag compensation.)

Syntax

player getWeaponOwner ( weapon theWeapon )

Required Arguments

  • theWeapon: The weapon to get the owner of.

Returns

Returns the player element of the custom weapon owner, false otherwise.

Requirements

This template will be deleted.

See Also