# Installation

## Follow the steps below to complete the installation of DeatGames

* Read carefully all information, pay close attention to the information described regarding our **DeatGames** Script. Our system is totally dedicated to those servers that require a form of dynamic shooting change in soft areas.

## **Cruciais Installations;**

> 1º - Perform the Necessary Downloads; `[Dependencies ox_lib, oxmysql, Imagem Maps and Obviously or Script].`> \
> 2º - Open the Script and go to the paste S**hared.**> \
> 3º - To open Shared Paste, go to the `shared.lua` file on line 9 and place your specific Fremework `[vrp, esx, qbox, qb]`.> \
> 4º - On Lines 31 \~ 37 add the Webhooks necessary to control the General System.> \
> 5º - On lines 41 \~ 43 Add the locations that you want to see the sand access blips.> \
> 6º - Add your IP in addition to the code that requires `your IP` to host the images, maps and weapons `[If you use Mariadb as soon as you add the links to each content]`> .&#x20;
>
> 7º - The last few lines of the Shared.lua file include 2x different types of dependency creation modes to add to your other scripts and have no conflicts. \[Survival and Inventory - Essentials] Use the block code to add other scripts that you would like to block when players are in the arena. If you have a script that is blocked and you can't create the locking code through our available script, use the event.lua file to create locking events and set the statuses.> \
> 8º - Go to the file `fxmanifest.lua` If your server is not vRP, comment out line 18.> \
> 9º - After adjusting the `fxmanifest`, start installing your freemework. Inside the **Shared** paste contains a new `fremework` charred paste, open it and go to your fremework that was set by you in `shared.lua`. Please create the code to identify the players and set the permissions.> \
> 10º - Go to your `shared.lua` again and add the amount of `MinHealth` to your server and `MaxHealth` to your server. Maybe you want to use active `DisableArmour` and place the maximum amount of your server's `SetArmour` .

## **Script Settings;**

> 1 - Add new maps if you want, just follow the same model to present two maps.> \
> 2 - Add the necessary permissions if you use the script monetized on your Server.> \
> 3 - Add to the permission that will be released in ADM MODE. Namely, this mode barely gives you access to see all the rooms that are in dispute.> \
> 4 - Configure the desired number of Rounds on line 24 of `Shared.lua`. This configuration refers to how many points a team needs to take to be the winner.> \
> 5 - Check the cores of the Blip on Line 28 do shared.lua.> \
> 6 - Click on the key that will open the ScoreBoard on line 16 of shared.lua, if necessary.> \
> 7 - Configure the complete language if you want to change it. Available in the 'web - language.js' file> \
> 8 - Active or desative vest on line 20 of `shared.lua`> \
> 9 - Add the map and weapon selection time to line 27 in `shared.lua`
>
> 10 - Line 23 you can enable or disable weapon animations.

## Dependencies to create in your scripts

<figure><img src="https://2012973112-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlA1DdiXgFSscwcWkO0rz%2Fuploads%2F0My39yt8n3nph72oYGoT%2Fmodelo_bloqueio_deatgames.png?alt=media&#x26;token=de047d46-5692-4826-aff8-475d6c2c248f" alt=""><figcaption></figcaption></figure>

* Create the blocks in your scripts, based on our provided codes. It is important to remember that the codes will serve for players who are in confrontations in the arena, as well as for those who are in Spec mode.

Recommendations that you cannot forget to create the blocks;

> ●  Your inventory system \[DeatGames does the complete job of setting up weapons, your inventory is not present].
>
> ●  Its Survival system \[DeatGames contains its own death system and special animations].
>
> ●  Furthermore, add to all your other scripts that you have that the player cannot open in the arena to avoid cheating or even bugs, such as; Cellphone, Box, Panels, and so on.

## Framework setup and adaptations

<figure><img src="https://2012973112-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlA1DdiXgFSscwcWkO0rz%2Fuploads%2FMaHIFnH36eAG1DwaQ8h4%2Fsdfshj.png?alt=media&#x26;token=30f96d29-59be-4515-8dd4-75acf420d319" alt=""><figcaption></figcaption></figure>

* Configure your Adaptations within the code of your added framework.

## Export adaptations

<figure><img src="https://2012973112-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlA1DdiXgFSscwcWkO0rz%2Fuploads%2FgMYweWzIQx0NnuhfXDUa%2Fmodelo_bloqueio_deatgames1.png?alt=media&#x26;token=e76dd8da-f672-45a6-90a7-1979edae0865" alt=""><figcaption></figcaption></figure>

* Inside the **SHARED** file, contain an `event.lua` file so that it is possible for you to add your export's if necessary. Add the statuses when the player is active or not inside the arena.

`Version: 17.0`
