Fix typos

This commit is contained in:
esteldunedain 2016-03-01 19:25:45 -03:00
parent f130d6c253
commit e6a2ca7102
2 changed files with 5 additions and 3 deletions

View File

@ -34,7 +34,7 @@ class CfgVehicles {
displayName = CSTRING(CheckTemperatureSpareBarrelsShort); displayName = CSTRING(CheckTemperatureSpareBarrelsShort);
condition = QUOTE( 'ACE_SpareBarrel' in magazines _player); condition = QUOTE( 'ACE_SpareBarrel' in magazines _player);
exceptions[] = {"isNotInside", "isNotSitting"}; exceptions[] = {"isNotInside", "isNotSitting"};
statement = QUOTE( [ARR_1(_player)] call FUNC(checkSpareBarrelsTemperatures); ); statement = QUOTE( [_player] call FUNC(checkSpareBarrelsTemperatures); );
showDisabled = 0; showDisabled = 0;
priority = 2.8; priority = 2.8;
icon = QUOTE(PATHTOF(UI\temp_ca.paa)); icon = QUOTE(PATHTOF(UI\temp_ca.paa));

View File

@ -19,15 +19,17 @@ params ["_player"];
if (!([_player, objNull, ["isNotInside", "isNotSitting"]] call EFUNC(common,canInteractWith))) exitWith {}; if (!([_player, objNull, ["isNotInside", "isNotSitting"]] call EFUNC(common,canInteractWith))) exitWith {};
// Make the unit go kneeling // Make the unit go kneeling
[_unit] call EFUNC(common,goKneeling); [_player] call EFUNC(common,goKneeling);
// Spawn a progress bar // Spawn a progress bar
[ [
5.0, 5.0,
[_player], [_player],
{ {
params ["_args", "_elapsedTime", "_totalTime", "_errorCode"];
_args params ["_player"];
// Time has enlapsed, ask the server to send the hint // Time has enlapsed, ask the server to send the hint
['spareBarrelsSendTemperatureHint', [_unit, _unit]] call EFUNC(common,serverEvent); ['spareBarrelsSendTemperatureHint', [_player, _player]] call EFUNC(common,serverEvent);
}, },
{}, {},
(localize LSTRING(CheckingSpareBarrelsTemperatures)), (localize LSTRING(CheckingSpareBarrelsTemperatures)),