13.05.2015, 15:53
Код:
is_locked[vehicleid] = doors == VEHICLE_PARAMS_ON ? true : false;
Код:
is_locked[vehicleid] = bool:doors;

Код:
doors = is_locked[vehicleid] ? VEHICLE_PARAMS_ON : VEHICLE_PARAMS_OFF;
Код:
doors = _:is_locked[vehicleid];