mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Prevent automatic humanity morph when in vehicles
Vanilla commit:
6326f1186d
This commit is contained in:
@@ -31,6 +31,8 @@ _model = typeOf player;
|
||||
|
||||
//if model will not be changed by humanity
|
||||
if !(_model in ["Survivor1_DZ","Survivor2_DZ","Survivor3_DZ","SurvivorW2_DZ","SurvivorW3_DZ","Bandit1_DZ","BanditW1_DZ"]) exitWith {};
|
||||
//don't switch model when in a vehicle (ejects player)
|
||||
if (vehicle player != player) exitWith {};
|
||||
|
||||
//Not sure if this will work needs testing
|
||||
_isMen = _model == "Survivor1_DZ" || _model == "Survivor2_DZ";
|
||||
|
||||
Reference in New Issue
Block a user