Skip to main content

Aliases

  • debug.setconstant

Argumentos

function | number
obrigatório
Lua function or stack level whose constant is modified.
number
obrigatório
One-based constant index.
any
obrigatório
New value for the constant.

Exemplo

Replace one Proto constant in a Lua closure or stack level.