CancelAimImmediately: Difference between revisions

From Onset Developer Wiki
(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.}}...")
 
No edit summary
 
Line 12: Line 12:
== Example ==
== Example ==
<syntaxhighlight>
<syntaxhighlight>
-- code
__EDIT_ME__
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 12:23, 2 September 2020

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

__EDIT_ME__

See also