diff --git a/addons/civilian/functions/fnc_createCivilian.sqf b/addons/civilian/functions/fnc_createCivilian.sqf index 6731df0..a643c7c 100644 --- a/addons/civilian/functions/fnc_createCivilian.sqf +++ b/addons/civilian/functions/fnc_createCivilian.sqf @@ -25,4 +25,4 @@ if (_civilian isEqualTo objNull) exitWith { WARNING_2("Failed creating civilian %1 at %2",_unit,_position); }; -[_civilian] call FUNC(initCivilian); +[_civilian] call FUNC(initCivilian) diff --git a/addons/civilian/functions/fnc_getNearestCity.sqf b/addons/civilian/functions/fnc_getNearestCity.sqf index 05cc4fa..26a60cd 100644 --- a/addons/civilian/functions/fnc_getNearestCity.sqf +++ b/addons/civilian/functions/fnc_getNearestCity.sqf @@ -27,4 +27,5 @@ _nearestTown = [_position, _searchRadius] call EFUNC(common,getNearestCityLocati // Return city namespace or objNull if not found if (_nearestTown isEqualTo locationNull) exitWith {objNull}; -[_nearestTown] call FUNC(getCityByLocation); + +[_nearestTown] call FUNC(getCityByLocation) diff --git a/addons/civilian/functions/fnc_getNearestVehicle.sqf b/addons/civilian/functions/fnc_getNearestVehicle.sqf index 73753e1..cb40333 100644 --- a/addons/civilian/functions/fnc_getNearestVehicle.sqf +++ b/addons/civilian/functions/fnc_getNearestVehicle.sqf @@ -9,7 +9,7 @@ * 2: Filter function returning true for valid vehicles (Optional) * * Return Value: - * None + * Nearest vehicle or objNull if not found * * Example: * [player] call afsk_civilian_fnc_getNearestVehicle diff --git a/addons/civilian/functions/fnc_initCivilian.sqf b/addons/civilian/functions/fnc_initCivilian.sqf index 65c16a8..19675ff 100644 --- a/addons/civilian/functions/fnc_initCivilian.sqf +++ b/addons/civilian/functions/fnc_initCivilian.sqf @@ -35,3 +35,5 @@ _civilian addEventHandler ["Killed", { [_civilian, _cityNamespace] call FUNC(assignCityCivilian); GVAR(civilians) pushBack _civilian; _civilian setVariable [QGVAR(initialized), true]; + +_civilian diff --git a/addons/common/functions/fnc_deleteAtRandom.sqf b/addons/common/functions/fnc_deleteAtRandom.sqf index fac9b37..eacf4d7 100644 --- a/addons/common/functions/fnc_deleteAtRandom.sqf +++ b/addons/common/functions/fnc_deleteAtRandom.sqf @@ -17,4 +17,4 @@ params ["_array"]; -_array deleteAt (floor (random (count _array))); +_array deleteAt (floor (random (count _array))) diff --git a/addons/common/functions/fnc_getNearestLocationName.sqf b/addons/common/functions/fnc_getNearestLocationName.sqf index d1db461..b88731a 100644 --- a/addons/common/functions/fnc_getNearestLocationName.sqf +++ b/addons/common/functions/fnc_getNearestLocationName.sqf @@ -30,4 +30,4 @@ if (_pos isEqualType objNull) then { private _nearestLocation = [_pos, _searchRadius] call FUNC(getNearestLocationWithAvailableName); if (_nearestLocation isEqualTo locationNull) exitWith {""}; -[_nearestLocation] call FUNC(getLocationName); +[_nearestLocation] call FUNC(getLocationName) diff --git a/addons/common/functions/fnc_getRandomPos.sqf b/addons/common/functions/fnc_getRandomPos.sqf index d362ebb..ed67f5f 100644 --- a/addons/common/functions/fnc_getRandomPos.sqf +++ b/addons/common/functions/fnc_getRandomPos.sqf @@ -63,4 +63,4 @@ while {(_loopLimit >= 0) && {(_randomPos isEqualTo [])}} do { if (_loopLimit isEqualTo 0) exitWith {[]}; -_randomPos; +_randomPos diff --git a/addons/common/functions/fnc_getTextFromConfig.sqf b/addons/common/functions/fnc_getTextFromConfig.sqf index 122a8ae..a7badd7 100644 --- a/addons/common/functions/fnc_getTextFromConfig.sqf +++ b/addons/common/functions/fnc_getTextFromConfig.sqf @@ -7,7 +7,7 @@ * None * * Return Value: - * None + * Text read from config * * Example: * None diff --git a/addons/common/functions/fnc_showMessage.sqf b/addons/common/functions/fnc_showMessage.sqf index 24ee6aa..8eb2126 100644 --- a/addons/common/functions/fnc_showMessage.sqf +++ b/addons/common/functions/fnc_showMessage.sqf @@ -23,4 +23,6 @@ if (GVAR(ACE_Loaded)) then { [_msg, _size, _target, _width] call ACE_common_fnc_displayTextStructured; } else { hint _msg; -} +}; + +nil diff --git a/addons/jail/functions/fnc_canRelease.sqf b/addons/jail/functions/fnc_canRelease.sqf index d4a4802..63949ad 100644 --- a/addons/jail/functions/fnc_canRelease.sqf +++ b/addons/jail/functions/fnc_canRelease.sqf @@ -8,7 +8,7 @@ * 1: Unit to release * * Return Value: - * None + * Whether target unit can be released * * Example: * [bob, ted] call afsk_jail_fnc_canBeReleased diff --git a/addons/jail/functions/fnc_getRandomJailPos.sqf b/addons/jail/functions/fnc_getRandomJailPos.sqf index 62ea2e4..33689ee 100644 --- a/addons/jail/functions/fnc_getRandomJailPos.sqf +++ b/addons/jail/functions/fnc_getRandomJailPos.sqf @@ -15,4 +15,4 @@ * Public: No */ -[[[getPosATL GVAR(jail), GVAR(jail) getVariable "objectArea"]], ["water"]] call BIS_fnc_randomPos; +[[[getPosATL GVAR(jail), GVAR(jail) getVariable "objectArea"]], ["water"]] call BIS_fnc_randomPos diff --git a/addons/killers/functions/fnc_anyKillerFree.sqf b/addons/killers/functions/fnc_anyKillerFree.sqf index 8b467f5..d6aac31 100644 --- a/addons/killers/functions/fnc_anyKillerFree.sqf +++ b/addons/killers/functions/fnc_anyKillerFree.sqf @@ -7,7 +7,7 @@ * None * * Return Value: - * None + * True if any killer is still free * * Example: * call afsk_killers_fnc_anyKillerFree diff --git a/addons/modules/functions/fnc_initKillersStarts.sqf b/addons/modules/functions/fnc_initKillersStarts.sqf index 29990f1..8a6b394 100644 --- a/addons/modules/functions/fnc_initKillersStarts.sqf +++ b/addons/modules/functions/fnc_initKillersStarts.sqf @@ -7,7 +7,7 @@ * None * * Return Value: - * None + * List of killers start modules > * * Example: * None diff --git a/addons/modules/functions/fnc_initKillersStashes.sqf b/addons/modules/functions/fnc_initKillersStashes.sqf index 8aec185..90b9d97 100644 --- a/addons/modules/functions/fnc_initKillersStashes.sqf +++ b/addons/modules/functions/fnc_initKillersStashes.sqf @@ -7,7 +7,7 @@ * None * * Return Value: - * None + * List of killers stash modules > * * Example: * None diff --git a/addons/modules/functions/fnc_initPoliceStations.sqf b/addons/modules/functions/fnc_initPoliceStations.sqf index 3c56e4e..963040d 100644 --- a/addons/modules/functions/fnc_initPoliceStations.sqf +++ b/addons/modules/functions/fnc_initPoliceStations.sqf @@ -7,7 +7,7 @@ * None * * Return Value: - * None + * List of police station modules > * * Example: * None diff --git a/addons/score/functions/fnc_addPoliceScore.sqf b/addons/score/functions/fnc_addPoliceScore.sqf index d551778..8d8151a 100644 --- a/addons/score/functions/fnc_addPoliceScore.sqf +++ b/addons/score/functions/fnc_addPoliceScore.sqf @@ -39,3 +39,5 @@ GVAR(policeScoreLastChangeTime) = CBA_missionTime; publicVariable QGVAR(policeScoreChange); }; }, [GVAR(policeScoreChange)], 5] call CBA_fnc_waitAndExecute; + +GVAR(policeScore)