Chuyển đến nội dung chính

Alias

  • debug.setconstant

Đối số

function | number
bắt buộc
Lua function or stack level whose constant is modified.
number
bắt buộc
One-based constant index.
any
bắt buộc
New value for the constant.

Ví dụ

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