function main()
repeat wait(0) until isSampAvailable()
sampRegisterChatCommand('ss', function(speed)
if tonumber(speed) == nil then bool = false return sampAddChatMessage('Выключаю', -1) end
bool,ss = true,tonumber(speed)
end)
while true do wait(0)
if bool then
if isCharInAnyCar(PLAYER_PED) then
if getCarSpeed(storeCarCharIsInNoSave(PLAYER_PED)) > ss then
setCarForwardSpeed(storeCarCharIsInNoSave(PLAYER_PED), ss)
end
end
end
end
end