- 218
- 58
- Версия SA-MP
-
- Любая
- Другая
как в диологе заменить текст ВТС: на свой текст
Lua:
local sampev = require 'samp.events'
function sampev.onShowDialog(dialogId, style, title, button1, button2, text)
text = text:gsub("{......}","")
for line in text:gmatch("[^\n]+") do
if line:find('BTC:') then
local rank = '123'
print(rank)
end
end
end