Answer the question
In order to leave comments, you need to log in
How to make a condition for Jua?
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')
elseif isKeyJustPressed(VK_K)
then
sampSendChat('/key')
end
end
end
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question