CancelAimImmediately

From Onset Developer Wiki
Revision as of 09:14, 24 May 2020 by BlueMountains (talk | contribs) (Created page with "{{Info|Function|Client|1.2.0}} {{FuncDescription|Cancel the aim state when a player is aiming with a gun. To prevent a player from aiming you can use OnPlayerToggleAim.}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
CancelAimImmediately

Type: Function
Context: Client
Introduced: v1.2.0

Description

Cancel the aim state when a player is aiming with a gun. To prevent a player from aiming you can use OnPlayerToggleAim.

Syntax

CancelAimImmediately()

Parameters

  • This function has no parameters.

Return Value

  • Returns no specific value.

Example

-- code

See also