소스 검색

added rexi

Namenai 7 년 전
부모
커밋
95ea50e068
1개의 변경된 파일12개의 추가작업 그리고 1개의 파일을 삭제
  1. 12 1
      Scripts/initPlayerLocal.sqf

+ 12 - 1
Scripts/initPlayerLocal.sqf

@@ -23,4 +23,15 @@
 namUnit=(_this select 0);
 namUnit setVariable ["namJumpPackConfig", false, true];
 }];
-*/
+*/
+
+//delets body on death
+Player addEventHandler ["GetInMan", {
+_x addMPEventHandler ["MPkilled",{deleteVehicle (_this select 0);}];
+hintSilent "fix applied";
+}];
+	
+Player addEventHandler ["GetOutMan", {
+_x removeAllMPEventHandlers "MPKILLED";
+hintSilent "fixremoved";
+}];