This commit is contained in:
A Clark
2012-12-16 15:29:19 -06:00
parent f378947145
commit 416490f553
124 changed files with 2996 additions and 67 deletions

View File

@@ -58,7 +58,8 @@ if (_scaleLight < 0.9) then {
};
};
_nearLight = nearestObject [(vehicle player),"StreetLamp"];
if (!isNull _nearLight && (lightIsOn _nearLight == "ON")) then {
//if (!isNull _nearLight && (lightIsOn _nearLight == "ON")) then {
if (!isNull _nearLight) then {
_scaler = 50 - (_nearLight distance (vehicle player));
_scaleLight = ((_scaler / 50) * 2) + _scaleLight;
};