- 513
- 126
- Версия MoonLoader
- .025-beta
Lua:
function main()
repeat wait(0) until isSampAvailable()
sampRegisterChatCommand('spam', function()
act = not act;
end)
while (true) do wait(0)
if (act) then
setGameKeyState(21, 255)
wait(100)
end
end
Lua:
function main()
repeat wait(0) until isSampAvailable()
sampRegisterChatCommand('spam', function()
act = not act;
sampAddChatMessage("{00ff00}включен(зеленый)", -1)
end)
while (true) do wait(0)
if (act) then
setGameKeyState(21, 255)
wait(100)
end
end