- 81
- 13
- Версия MoonLoader
- .026-beta
говно:
function main()
while not isSampAvailable() do wait(0) end
while enable do
sampProcessChatInput('/tpc')
end
while true do
wait(0)
if isKeyJustPressed(vkeys.VK_Q) and isKeyDown(vkeys.VK_E) then
enable = not enable
end
end
end
Lua:
function main()
while not isSampAvailable() do wait(0) end
while true do
wait(0)
if isKeyJustPressed(vkeys.VK_Q) and isKeyDown(vkeys.VK_E) then
enable = not enable
end
while enable do
sampProcessChatInput('/tpc')
end
end
end
Разобрался, задержка нужна была