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> | ||
__EDIT_ME__ | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 12:23, 2 September 2020
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__