Wert Dev Docs
Tebex StoreDiscord
  • ℹ️About Us
  • Products
    • QBCore
      • Wert Pd Roster
      • Wert Jewel Robbery V2
      • Wert Jammer
      • Wert Gps V2
      • Wert Ammunation Jobs
      • Wert Jobs V2
      • Wert Contactless Payment
      • Wert GoPro (Watch vehicles with gopros)
      • Wert Shop Robbery
      • Wert Shops + Delivery Jobs (Buy and manage your shops)
      • Wert Houses
      • Wert Ambulance Job
      • Wert BodyCam (For civilians and jobs)
      • Wert Police Systems V2
      • Wert ChopShop V2
      • Wert Taboo (Play and enjoy)
      • Wert illegal house robbery
      • Wert Banking (Bank ui and system)
      • Wert Paleto Bank Robbery V2
      • Wert Car Arena (Death race, Death match, Arena war)
      • Wert Blackmarket Phone
      • Wert Gang Zone (Advanced Npc System)
      • Wert Fuel Stations (Job, Buy, Manage, Create and more ... )
      • Wert Craft System
      • Wert Merryweather Job
      • Wert Cleaning System And Jobs
      • Wert Weapon Racks (Deployable, Advanced)
      • Wert Water Dispensers (Coolers)
      • Wert Lucky Wheel
      • Wert Evidence System
      • Wert Give Money System
      • Wert Ems Roster System
      • Wert New Year Lottery
      • Wert Vending Machines
    • ESX
      • Wert Shop Robbery
      • Wert Jewel Robbery V2
      • Wert Gps V2
      • Wert Police Systems V2
      • Wert Jobs V2
      • Wert Contactless Payment
      • Wert GoPro (Watch vehicles with gopros)
      • Wert Ammunation Jobs
      • Wert BodyCam (For civilians and jobs)
      • Wert ChopShop V2
      • Wert Taboo (Play and enjoy)
      • Wert illegal house robbery
      • Wert Paleto Bank Robbery V2
      • Wert Jammer
      • Wert Car Arena (Death race, Death match, Arena war)
      • Wert Banking (Bank ui and system)
      • Wert Fuel Stations (Job, Buy, Manage, Create and more ... )
      • Wert Gang Zone (Advanced Npc System)
      • Wert Blackmarket Phone
      • Wert Craft System
      • Wert Merryweather Job
      • Wert Cleaning System And Jobs
      • Wert Weapon Racks (Deployable, Advanced)
      • Wert Water Dispensers (Coolers)
      • Wert Lucky Wheel
      • Wert Evidence System
      • Wert Give Money System
      • Wert Ems Roster System
      • Wert New Year Lottery
      • Wert Pd Roster
      • Wert Vending Machines
      • Wert Ambulance Job
    • Qbox
      • Wert Pd Roster
      • Wert Jewel Robbery V2
      • Wert Jammer
      • Wert Gps V2
      • Wert Ammunation Jobs
      • Wert Jobs V2
      • Wert Contactless Payment
      • Wert GoPro (Watch vehicles with gopros)
      • Wert Shop Robbery
      • Wert Shops + Delivery Jobs (Buy and manage your shops)
      • Wert Houses
      • Wert Ambulance Job
      • Wert BodyCam (For civilians and jobs)
      • Wert Police Systems V2
      • Wert-ChopShopV2
      • Wert Taboo (Play and enjoy)
      • Wert illegal house robbery
      • Wert Banking (Bank ui and system)
      • Wert Paleto Bank Robbery V2
      • Wert Car Arena (Death race, Death match, Arena war)
      • Wert Blackmarket Phone
      • Wert Gang Zone (Advanced Npc System)
      • Wert Fuel Stations (Job, Buy, Manage, Create and more ... )
      • Wert Craft System
      • Wert Merryweather Job
      • Wert Cleaning System And Jobs
      • Wert Weapon Racks (Deployable, Advanced)
      • Wert Water Dispensers (Coolers)
      • Wert Lucky Wheel
      • Wert Evidence System
      • Wert Give Money System
      • Wert Ems Roster System
      • Wert New Year Lottery
      • Wert Vending Machines
    • STANDALONE
      • Wert Npc Dialog System
      • Wert Racing Hud
Powered by GitBook
On this page
  • INSTALLATION
  • ESX Depends
  • OX LIB OPTION
  • EXPORTS
  1. Products
  2. ESX

Wert Car Arena (Death race, Death match, Arena war)

You can access the setup information you need about this product

INSTALLATION

ESX Depends

  • ESX

  • qb-target (If you use another target please edit codes in editable.lua)

  • PolyZone

  • qb-menu

1 - Upload the script folder to the location of your resources

2 - Do not forget to add the necessary items to your item list

-- Item
["cararena_menu"]								= {["name"] = "cararena_menu",				["label"] = "Car arena menu",										["weight"] = 100,	["type"] = "item",	["image"] = "cararena_menu.png",				["unique"] = true,	["useable"] = true,	["shouldClose"] = false,	["combinable"] = nil,	   ["description"] = "Car arena settings tool"},

3 - Don't forget to check out the editable settings and codes

4 - https://github.com/Wert22/Wert-arena (Load this script your server, this is a arena map) !IMPORTANT

5 - Installation successful, have a good funs

Note : Css file is not encrypted, you can customize images (I provided this for you to create your own style).

OX LIB OPTION

If you want enable ox-lib you need set Config.OxLib = true

After this step you can found this code and open in fxmanifest.lua

EXPORTS

1 - Client side exports

  • Get client player game data

```lua
local GameData = exports['wert-cararena']:GetClientGameData()
--Results
--GameData.start
--GameData.gamename
--GameData.gamepass
--GameData.maxplayer
--GameData.joinprice
--GameData.gametype
--GameData.mapname
--GameData.mapid
--GameData.owner
--GameData.reward
```
  • Is the player on the spectator camera?

```lua
local CamData = exports['wert-cararena']:GetSpectCamActive()
if CamData then
    -- Player use camera
else
    -- Player not use camera
end
```

2 - Server side exports

  • Retrieves the data of the current game

```lua
local GameData = exports['wert-cararena']:GetServerGameData()
for k,v in pairs(GameData) do
    print(k, v)
end
```
  • Get active all cameras data

```lua
local CamData = exports['wert-cararena']:GetServerCamActive()
for k,v in pairs(CamData) do
    print(k, v)
end
```

Note : If you want to put control in a different script, you can try the exports I mentioned above.

PreviousWert JammerNextWert Banking (Bank ui and system)

Last updated 1 year ago