# justUWV

### Installation

1. Download the script from keymaster
2. Extract the zip folder
3. Drop the "justUWV\_Script" into your server resources
4. Add the "justUWV\_Script" to your server.cfg\
   \
   Done!

### Adding jobs

You can add as many jobs as you want! The script supports 6 jobs per page, but it will automaticlly add pages if you have more then 6!\
\
Here is how you can add them:

```lua
Config.jobs = {
      job1 = {
            name = "unemployed", -- job in Database (same one you use with /setjob)
            label = "Unemployed", -- Label
            grade = 0, -- grade 
            description = "", -- Job description
            img = "unemployed.png" -- Image name
      },
      job2 = {
            name = "unemployed", -- job in Database (same one you use with /setjob)
            label = "Unemployed", -- Label
            grade = 0, -- grade 
            description = "", -- Job description
            img = "unemployed.png" -- Image name
      },
      -- etc.
}
```

For the image, you can put your image in: html/img and then give it any name you want, you can set the image name in the config!

### Custom notify

```lua
function Notify(title, message, time, type)
      TriggerClientEvent("justNotify:notify", source, title, message, time, type)
end
```

This might require a little coding experience, but you can add any notify you want!\ <br>

### Targeting / third eye

We added the option to add a targeting script! Although, this does take some coding experience.\
We are gonna try to explain it as easy as possible!\
\
First of all, make sure that "Config.enableTargeting" is set on true, and in the "Config.markerSettings", enable is set to false, just like this:<br>

```lua
Config.enableTargeting = true
Config.markerSettings = {
      enable = false,
      -- rest of the code --
```

Then, you scroll down to the targeting function:<br>

```lua
function targeting()
      exports.ox_target:addSphereZone({
            coords = vec3(-1.8139, -697.1011, 46.1660),
            size = vec3(2, 2, 2),
            rotation = 257.0,
            debug = false,
            options = {
                {
                    name = 'open_jobcenter',
                    event = 'justUWV_Script:showNUI', -- Make sure that this event is triggered
                    icon = 'fa-solid fa-suitcase',
                    label = 'Talk with guy'
                }
            }
      })
end
```

In here, we standart put ox targeting, but you can put in anyone you want! Just make sure that the event the target script triggers, is "justUWV\_Script:showNUI"!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://justdevelopment.gitbook.io/home/products/justuwv.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
