Skip to content

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.

GetPlayerActionHints(pid)
Parameter Type
pid number the player

table - a list of lines, {} for none

for _, line in ipairs(GetPlayerActionHints(pid)) do
Log(line.id .. " on " .. (line.binding or line.key))
end

AddPlayerActionHint · the Key hints group of the index