Jump to content

DayZ script


Gabriele01

Recommended Posts

Posted (edited)

Hello guys I need DayZ VIP Base system, When I go to near of base, here have a one marker , when ı go marker system ask me code and I write code and get in to base.

If you have that system or something with VIP Base please give me below <3

Edited by Gabriele01
  • Like 1

350x20_CDC5DB_FFFFFF_191C19_FFFAFA.png

Posted (edited)

Hey Gabriele01,

You can easily make this code by yourself.
There are two ways.
1.
You go near a base, where you can see a marker, if you go inside that marker, you can type /code [!code]

2.
You go near a base, where you can see a marker, if you inside that marker, you can type /code [!code], and a gate'll open.

I can write you both of these scripts, choose one of them.

Edited by Patrik91
  • Like 1

6C73yFv.png

Did I help you?

Mmpe7Jm.gif


NeXuS™#0001

Posted
17 hours ago, Patrik91 said:

Hey Gabriele01,

You can easily make this code by yourself.
There are two ways.
1.
You go near a base, where you can see a marker, if you go inside that marker, you can type /code [!code]

2.
You go near a base, where you can see a marker, if you inside that marker, you can type /code [!code], and a gate'll open.

I can write you both of these scripts, choose one of them.

I don't see the difference?

560x95_FFFFFF_FF9900_000000_000000.png

Posted (edited)
19 hours ago, Gabriele01 said:

Hello guys I need DayZ VIP Base system, When I go to near of base, here have a one marker , when ı go marker system ask me code and I write code and get in to base.

If you have that system or something with VIP Base please give me below <3

 
  1. bool setElementPosition ( element theElement, float x, float y, float z [, bool warp = true ] ) -- Shared Function

addEventHandler("onClientMarkerHit",markerName,functionName) -- if you want to make it in client side

addEventHandler("onMarkerHit",markerName,functionName) -- if you want to make it in server side 

 

Edited by Tarek1
Posted

Man I don't know codding :/

17 minutes ago, Tarek1 said:

 
  1. bool setElementPosition ( element theElement, float x, float y, float z [, bool warp = true ] ) -- Shared Function

addEventHandler("onClientMarkerHit",markerName,functionName) -- if you want to make it in client side

addEventHandler("onMarkerHit",markerName,functionName) -- if you want to make it in server side 

 

And its wrong. I'm just in the marker code is available. But when I'm not in marker, code is doesn't work.

I need teleport with code in marker. I hope you understand me <3

  • Like 1

350x20_CDC5DB_FFFFFF_191C19_FFFAFA.png

Posted

onClientResourceStart -> createMarker -> setElementData to the markers with the gate ID.

onClientMarkerHit -> getElementData of that marker to retrieve the code -> show keypad panel (via CEGUI)

onClientGUIClick (enter) -> Check code between the one entered by the user, to the one assigned on the marker. If true -> setElementPosition.

-> else, throw an error.

 

Simple ;)

  • Like 1

Founder of Kutmode - http://kutmode.com | https://discord.gg/P3FXVnF

(Retired) Leading Developer of Grand Theft International

(Retired) Leading Developer of Full Theft Auto.

(Retired) Owner of SourceMod.

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...