Jump to content

MTA:DayZ SafeZones Resource


[PXG]Blue

Recommended Posts

This is a Safezone Resource i made, its for the MTA: DayZ Gamemode from L, this is a copy from the Forum post i made on their Forums, i will not upload the Resource to the community as it is easier for everyone just to follow and edit it on Github.

NEW UPDATE IS OUT!!!!

[NEW] Export Function: createSafeZone

[FIX] Fixed Shooting using TAB in the Safezone

[NEW] Added Settings

[NEW] Made SafeZone Map Optional ( Settings )

A Resource that adds one Safe Zone.

Tutorial:

How to Create a Safezone:

In the newest update i added an export, here is how to use this export:

Go into your Script File, make sure its server sided.

The Function is called:

exports.addon_dayzsafezone:createSafeZone()

Arguments:

x,y,z,radius

x - The x coordinate

y - the Y coordinate

z - the Z coordinate

radius - the Radius, how big the colsphere will be.

Example:

  
function createMySafeZones() 
exports.addon_dayzsafezone:createSafeZone(0,0,0,20) -- Creates a 20 m wide Safezone at the coordinates 0,0,0 
  
  
end 
addEventHandler("onResourceStart", getResourceRootElement(getThisResource)), createMySafeZones) 
  
  
  

Example Picture ( Top Down View )

6bfe3e4c1a.png

Make sure addon_dayzsafezone is running!

start your resource and go to the position you just created an safezone for, enjoy!

Features:

Bullet Proof Cage

Godmode

No Zombies

Screens:

fd00509b92.png

b27586c1f9.png

Download:

Github

Link to comment
  • 3 months later...
I dont know how to make safe zone on place witch i want

Tutorial:

How to Create a Safezone:

In the newest update i added an export, here is how to use this export:

Go into your Script File, make sure its server sided.

The Function is called:

exports.addon_dayzsafezone:createSafeZone()

Arguments:

x,y,z,radius

x - The x coordinate

y - the Y coordinate

z - the Z coordinate

radius - the Radius, how big the colsphere will be.

Example:

  
function createMySafeZones() 
exports.addon_dayzsafezone:createSafeZone(0,0,0,20) -- Creates a 20 m wide Safezone at the coordinates 0,0,0 
  
  
end 
addEventHandler("onResourceStart", getResourceRootElement(getThisResource)), createMySafeZones) 
  
  
  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...