140 {
141 if (!super.CanReleaseAttachment(attachment))
142 {
143 return false;
144 }
145
147 {
148 string attType = attachment.GetType();
149 if (attType == "CarRadiator" || attType == "CarBattery" || attType == "SparkPlug")
150 {
151 return false;
152 }
153 }
154
155 return true;
156 }
proto native bool EngineIsOn()
Returns true when engine is running, false otherwise.
override int GetCarDoorsState(string slotType)