function se.onShowTextDraw(id, data)
if data.text == '0' and id == 2048 then
trigger(data.text)
end
end
function se.onTextDrawSetString(id, text)
if id == 2048 then
trigger(text)
end
end
function trigger(text)
sampAddChatMessage('Одна из функций передала значение: '..text, -1)
print('Одна из функций передала значение: '..text)
end