GetWeaponOwner

From Multi Theft Auto: Wiki
Revision as of 23:34, 25 August 2012 by Arran Fortuna (talk | contribs) (Created page with "__NOTOC__ {{Client function}} Get the owner of the custom weapon (used for lag compensation.) ==Syntax== <syntaxhighlight lang="lua">player getWeaponOwner ( theWeapon )</syntaxhighlight> ===Required Argum...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Syntax

player getWeaponOwner ( 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