GetPlayerWeaponMuzzleLocation

From Onset Developer Wiki
GetPlayerWeaponMuzzleLocation

Type: Function
Context: Client
Introduced: v1.0

Description

Gets the muzzle location of a weapon that a specific player is holding in world space.

Syntax

GetPlayerWeaponMuzzleLocation([, player])

Parameters

  • player (optional)
    The player identifier.

Return Value

  • Returns the muzzle location X, Y, Z in world space.

Example

__EDIT_ME__

See also

__EDIT_ME__