- 329
- 52
Скачал АнтиАфк, а он не работает. Посмотрите что не так, пожалуйста
aafk:
script_properties("work-in-pause")
memory = require "memory"
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(0) end
sampRegisterChatCommand("afk", start)
sampRegisterChatCommand("noafk", stop)
wait(-1)
end
function start()
sampAddChatMessage('+', -1)
writeMemory(7634870, 1, 1, 1)
writeMemory(7635034, 1, 1, 1)
memory.fill(7623723, 144, 8)
memory.fill(5499528, 144, 6)
end
function stop()
sampAddChatMessage('-', -1)
writeMemory(7634870, 1, 0, 0)
writeMemory(7635034, 1, 0, 0)
memory.hex2bin('5051FF1500838500', 7623723, 8)
memory.hex2bin('0F847B010000', 5499528, 6)
end