local key = require 'vkeys'
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(100) end
while true do
wait(0)
if not sampIsCursorActive() and isCharInAnyCar(PLAYER_PED) then
if wasKeyPressed(key.VK_N) then
sampSendChat('/limit 300')
end
end
end
end