SetWeaponOwner: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua">bool setWeaponOwner ( theWeapon, player theOwner )</syntaxhighlight> | <syntaxhighlight lang="lua">bool setWeaponOwner ( weapon theWeapon, player theOwner )</syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== |
Revision as of 15:16, 9 September 2013
Sets the owner (a player) of the custom weapon.
Syntax
bool setWeaponOwner ( weapon theWeapon, player theOwner )
Required Arguments
- theWeapon: The weapon to set the owner of
- theOwner: The weapon owner
Returns
Returns true on success, false otherwise.
Requirements
This template will be deleted.
See Also
- createWeapon
- fireWeapon
- getWeaponAmmo
- getWeaponClipAmmo
- getWeaponFiringRate
- getWeaponFlags
- getWeaponOwner
- getWeaponProperty
- getWeaponState
- getWeaponTarget
- resetWeaponFiringRate
- setWeaponAmmo
- setWeaponClipAmmo
- setWeaponFiringRate
- setWeaponFlags
- setWeaponProperty
- setWeaponState
- setWeaponTarget