Tile - YCustomControls - Is Custom Key Action Enabled – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search

Is Custom Key Action Enabled(Custom controls, Player, Action)

YlandsTile-865.png

isCustomKeyActionEnabled(player: YCharacter, action: number): boolean;

Parameters

player

action

Returns

boolean

Availability

Server

Description

Returns whether the player has the custom key action of the target custom controls enabled or not.