См. определение в файле CarScript.c строка 1210
1211 {
1212 Human driver = CrewDriver();
1214 {
1215
1216 if (driver.IsAlive())
1217 {
1219 }
1220 }
1221
1223 {
1225 if (battery)
1226 {
1229 {
1231 }
1232 }
1233
1235 {
1238 {
1239
1241 SetEngineZoneReceivedHit(true);
1242 }
1243 }
1244 else
1245 {
1247 }
1248 }
1249
1250
1252 if ( brake_coef > 0 )
1253 {
1255 {
1257 SetSynchDirty();
1259 }
1260 }
1261 else
1262 {
1264 {
1266 SetSynchDirty();
1268 }
1269 }
1270 }
class GP5GasMask extends MaskBase ItemBase
proto native void SetBrake(float value)
Sets the future rear brake value.
proto native float GetBrake()
Returns the current rear brake value in range <0, 1>.
static float DROWN_ENGINE_THRESHOLD
void UpdateBattery(ItemBase battery)
static float DROWN_ENGINE_DAMAGE
const float BATTERY_UPDATE_DELAY
proto native bool IsControllingVehicle()
Перекрестные ссылки BATTERY_UPDATE_DELAY, DROWN_ENGINE_DAMAGE, DROWN_ENGINE_THRESHOLD, g_Game, GetBattery(), GetBrake(), GetEnginePosWS(), Human::IsControllingVehicle(), m_BatteryTimer, m_BrakesArePressed, m_DrownTime, OnBrakesPressed(), OnBrakesReleased(), SetBrake() и UpdateBattery().