- 175
- 64
- Версия MoonLoader
- Другое
Lua:
local state = false
local ev = require "samp.events"
local mb = require('MoonBot')
function main()
repeat wait(0) until isSampAvailable()
sampAddChatMessage("Naibalka ahh~", -1)
sampRegisterChatCommand("nag.add", function()
local bot = mb.add("for_decriptsquad")
bot:connect()
sampAddChatMessage('Подключаю: ' .. bot.name , -1)
bot:sendRequestSpawn()
bot:sendSpawn()
end)
while true do
wait(0)
mb.updateCallbacks()
end
end
function onScriptTerminate(script, quitGame)
if script == thisScript() then
mb.unload()
end
end