Sfoglia il codice sorgente

Stamina respawn fix

Indominusrexi 6 anni fa
parent
commit
ca108c17f1
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      Scripts/initPlayerLocal.sqf

+ 2 - 1
Scripts/initPlayerLocal.sqf

@@ -38,4 +38,5 @@ _x removeAllMPEventHandlers "MPKILLED";
 
 }];
 
-player enableFatigue false;
+player enableFatigue False;  
+player addEventHandler ["Respawn", {player enableFatigue false}];