Вы используете устаревший браузер. Этот и другие сайты могут отображаться в нём некорректно. Вам необходимо обновить браузер или попробовать использовать другой.
if sampIsDialogActive() then
dialogid = sampGetCurrentDialogId()
if dialogid == 0 then
text = sampGetDialogText(0)
print(text)
text1 = string.match(text, 'Материалы: (%d+)')
print(text1) -- nil
end
end
if sampIsDialogActive() then
dialogid = sampGetCurrentDialogId()
if dialogid == 0 then
text = sampGetDialogText(0)
print(text)
text1 = string.match(text, 'Материалы: (%d+)')
print(text1) -- nil
end
end
if sampIsDialogActive() then
dialogid = sampGetCurrentDialogId()
if dialogid == 0 then
text = sampGetDialogText(0)
print(text)
mats = string.match(text, 'Материалы:\t\t\t(%d+)')
end
end