Лучше сделать вот так @gfgfds2423
local active = false
--
sampRegisterChatCommand("startfind", function()
if not active then
sampAddChatMessage("Вы начали поиск.", -1)
active = true
end
end)
sampRegisterChatCommand("stopfind", function()
if active then...