Function
SyncWeapon
SyncWeapon_IsOwnedByPlayer
Returns true if the specified player owns the sync weapon. Use a playerid of nil to see if it's unonwed.
On this page
SyncWeapon_IsOwnedByPlayer(weapon, player)Description
If player is not specified, then the code will check to see if the SyncWeapon is owned by the world.
Parameters
weaponSyncWeaponIDrequiredplayerPlayerIDoptional
Returns
BooleanSource
Declared in the game's script sources at:
scar/syncweapons.scar