sampev.onShowTextDraw(id, data)

NaN.

Активный
Автор темы
109
45
Версия MoonLoader
.027.0-preview
извиниюсь за глупый вопрос, но в документации я ответа не нашел, поэтому спрашиваю тут

Что означает параметр data, для чего он нужен?
 
  • Нравится
Реакции: chromiusj
Решение
Lua:
data.flags = read.int8(bs)
data.letterWidth = read.float(bs)
data.letterHeight = read.float(bs)
data.letterColor = read.int32(bs)
data.lineWidth = read.float(bs)
data.lineHeight = read.float(bs)
data.boxColor = read.int32(bs)
data.shadow = read.int8(bs)
data.outline = read.int8(bs)
data.backgroundColor = read.int32(bs)
data.style = read.int8(bs)
data.selectable = read.int8(bs)
data.position = read.vector2d(bs)
data.modelId = read.int16(bs)
data.rotation = read.vector3d(bs)
data.zoom = read.float(bs)
data.color = read.int32(bs)
data.text = read.string16(bs)

Fott

Простреленный
3,461
2,378
Lua:
data.flags = read.int8(bs)
data.letterWidth = read.float(bs)
data.letterHeight = read.float(bs)
data.letterColor = read.int32(bs)
data.lineWidth = read.float(bs)
data.lineHeight = read.float(bs)
data.boxColor = read.int32(bs)
data.shadow = read.int8(bs)
data.outline = read.int8(bs)
data.backgroundColor = read.int32(bs)
data.style = read.int8(bs)
data.selectable = read.int8(bs)
data.position = read.vector2d(bs)
data.modelId = read.int16(bs)
data.rotation = read.vector3d(bs)
data.zoom = read.float(bs)
data.color = read.int32(bs)
data.text = read.string16(bs)
 
  • Нравится
Реакции: chromiusj и NaN.