Не понимаю почему "lock 1" и "lock 4" работают , а "rem" и "key" - нет.
function main()
repeat wait(0) until isSampAvailable()
while true do
wait(0)
if isKeyJustPressed(49) and isKeyJustPressed(18) and not sampIsChatInputActive() and not sampIsDialogActive() then...