aeroson

Untitled

Sep 6th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. // set different elevation on respawn, so players can actually respawn on ships
  2. // put this at the bottom of init.sqf
  3. if(hasInterface) then {
  4. player addEventHandler ["killed", {
  5. private ["_pos"];
  6. _pos = getPosASL player;
  7. _pos set[2, 9.2]; // here the second number means how much m above sea level, use console to watch "getPosASL player" and copy paste the last number if you want to be accurate
  8. player setPosASL _pos;
  9. }];
  10. };
Advertisement
Add Comment
Please, Sign In to add comment