public static void OnRespawnVehicleCommand(BasePlayer sender, BaseVehicle vehicle) { if (vehicle == null) { sender.SendClientMessage(Color.Red, Messages.VehicleIsNotValid); return; } vehicle.Respawn(); sender.SendClientMessage($"{{00FF00}}You've respawned vehicle {{FFFF00}}{vehicle.Id}"); }