Prevent automatic humanity morph when in vehicles

Vanilla commit:

6326f1186d
This commit is contained in:
ebaydayz
2016-10-11 13:06:57 -04:00
parent f8f9fbc57a
commit fbb8cc645c

View File

@@ -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";