local act = false
local afk = false
function main()
sampRegisterChatCommand("cool", payday)
while true do
wait(0)
if enabled then
local mins = os.date("%M")
mins = tonumber(mins)
if mins == 58 or mins == 59 or mins == 0 then
afk = true
else
afk = false
end
end
end
wait(-1)
end
function payday()
enabled = not enabled
if enabled then
--
else
afk = false
end
end
function onSendRpc()
if afk then
return false
end
end
function onSendPacket()
if afk then
return false
end
end