mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
turretLocal check for SP-Rearm
This commit is contained in:
parent
451f7d56b3
commit
9362cd0796
@ -18,7 +18,8 @@ private ["_line","_magname","_vehName","_vehtype"];
|
||||
//[[[end]]]
|
||||
params ['_vehicle','_ammotype','_turret','_reloagmags','_ammocount','_costs'];
|
||||
|
||||
if (!local _vehicle) exitWith {
|
||||
//if (!local _vehicle) exitWith {
|
||||
if !(_vehicle turretLocal _turret) exitwith {
|
||||
_line = 'Rearm denied - Go in as driver first!';
|
||||
[_line,5] call Epoch_message;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user