- 22
- 2
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
- Версия SA-MP
-
- 0.3.7-R3
я вроде всё правильно сделал, а почему то функция не видит текст
require 'lib.moonloader'
local sampev = require 'lib.samp.events'
function main()
sampAddChatMessage("qq", -1)
while true do wait(0)
if string.find(text, "*", 1, true) then
sampAddChatMessage("fffff", -1)
end
end
end
function sampev.OnServerMessage(colot, text)
if string.find(text, "*", 1, true) then
sampAddChatMessage("Нашёл *", -1)
end
end
require 'lib.moonloader'
local sampev = require 'lib.samp.events'
function main()
sampAddChatMessage("qq", -1)
while true do wait(0)
if string.find(text, "*", 1, true) then
sampAddChatMessage("fffff", -1)
end
end
end
function sampev.OnServerMessage(colot, text)
if string.find(text, "*", 1, true) then
sampAddChatMessage("Нашёл *", -1)
end
end