Langsung ke konten utama

Alias

  • debug.setconstant

Argumen

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

Contoh

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