132 {
133 if (!super.CanReleaseAttachment(attachment))
134 {
135 return false;
136 }
137
139 {
140 string attType = attachment.GetType();
141 if (attType == "CarRadiator" || attType == "CarBattery" || attType == "SparkPlug")
142 {
143 return false;
144 }
145 }
146
147 return true;
148 }
proto native bool EngineIsOn()
Returns true when engine is running, false otherwise.
override int GetCarDoorsState(string slotType)