Untitled
unknown
plain_text
3 years ago
753 B
6
Indexable
require 'lib.moonloader'
local sampev = require 'lib.samp.events'
local vkeys = require 'vkeys'
local active = false
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do
wait(0)
if isKeyJustPressed(0x58) and not isSampfuncsConsoleActive() and not sampIsChatInputActive() and not sampIsDialogActive() and not isPauseMenuActive() then
active = not active
printString('hash cleaner: '..(active and '~g~activated' or '~r~disabled'), 1500)
end
end
end
function sampev.onDisplayGameText(style,time,text)
if text:find("Репорт") then
sampSendChat('/ot')
end
endEditor is loading...