GetPlayerActionHints
The mode’s lines in a player’s key hints.
In the order they were first added. Each is a table {id, key, text, order, hold, modifier, binding, disabled}: hold is
false, true (the mark alone) or the ring’s milliseconds, modifier and binding are nil when not set. A fresh table each
call.
Syntax
Section titled “Syntax”GetPlayerActionHints(pid)| Parameter | Type | |
|---|---|---|
pid |
number | the player |
Returns
Section titled “Returns”table - a list of lines, {} for none
Example
Section titled “Example”for _, line in ipairs(GetPlayerActionHints(pid)) do Log(line.id .. " on " .. (line.binding or line.key))endSee also
Section titled “See also”AddPlayerActionHint · the Key hints group of the index
