pchelkin (mearfy) Известный Автор темы 902 370 19 Фев 2022 #1 Версия MoonLoader Другое как сделать, чтобы чел выполнял действие, например писал в чат если в чате содержится какая-та фраза
Решение B B barjik 19 Фев 2022 Lua: require('lib.samp.events').onServerMessage = function(color, text) if text:find('text') then -- если нашел "text" sampProcessChatInput('/q') end end
Lua: require('lib.samp.events').onServerMessage = function(color, text) if text:find('text') then -- если нашел "text" sampProcessChatInput('/q') end end
B barjik Известный 460 191 19 Фев 2022 Решение #2 Lua: require('lib.samp.events').onServerMessage = function(color, text) if text:find('text') then -- если нашел "text" sampProcessChatInput('/q') end end Реакции: pchelkin (mearfy) Позитивный голос 1 Негативный голос Решение
Lua: require('lib.samp.events').onServerMessage = function(color, text) if text:find('text') then -- если нашел "text" sampProcessChatInput('/q') end end