require "lib.moonloader"
local keys = require "vkeys"
function main()
if not isSampLoaded() or not isSampfuncsLoaded()
then return
end
while not isSampAvailable()
do wait()
end
sampAddChatMessage('CarHelp активен', 0x800080)
while true do
wait(0)
if isKeyJustPressed(VK_L)
then
sampSendChat('/lock')
end
if isKeyJustPressed(VK_K)
then
sampSendChat('/key')
end
require "lib.moonloader"
local keys = require "vkeys"
function main()
repeat wait(0) until isSampAvailable()
sampAddChatMessage('CarHelp активен', 0x800080)
while true do
wait(0)
if isKeyJustPressed(VK_L) then sampSendChat('/lock') end
if isKeyJustPressed(VK_K) then sampSendChat('/key') end
end
end