Advertisement
Guest User

Untitled

a guest
Jul 25th, 2013
259
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (PARAMS_SpawnProtection == 1) then
  2. {
  3. //Create invisible spawn protection
  4. _distance = 45;
  5. _dir = 0;
  6. _spawnPos = getMarkerPos "respawn_west";
  7.  
  8. _zone = "ProtectionZone_Invisible_F" createVehicle _spawnPos;
  9.  
  10. for "_x" from 0 to 7 do
  11. {
  12. _pos = [_spawnPos, _distance, _dir] call BIS_fnc_relPos;
  13. _zone = "ProtectionZone_Invisible_F" createVehicle _pos;
  14. _dir = _dir + 45;
  15. };
  16. };
Advertisement
RAW Paste Data Copied
Advertisement