CGameUIFuncs

Usage: game.gameUIFuncs:{method}

This type represents the game's UI functions.

GetBindingForButtonCode

Method

Returns the binding name for a button code.

Arguments

Name
Type
Description

code

int

Button code.

Returns

Type
Description

string

Binding.

Example

local bind = game.gameUIFuncs:GetBindingForButtonCode(code);

Last updated