#Include samp.txt
CommandProcessor := new CommandProcessor()
CommandProcessor.SetStatusProcessor(true)
CommandProcessor.RegisterCommand("/carinfo", "kp")
AntiCrash()
if (RegExMatch(chatInput, "^/carinfo")) {
if (isPlayerInAnyVehicle() = 1)
addchatmessage("{efcdb8}Информация о данном транспорте:")
addchatmessage("{cc6333}Номер модели транспорта: {edc6be}getVehicleModelId()")
addchatmessage("{cc6333}Название модели транспорта: {edc6be}getVehicleModelName()")
addchatmessage("{cc6333}Состояние мотора: {edc6be}getVehicleEngineState()")
addchatmessage("{cc6333}Текущая скорость: {edc6be}getVehicleSpeed()")
}
else
addchatmessage("Вы не находитесь в транспорте.")
return
F2::
addchatmessage("by degrando")
return