# Black Screen on Start

Are you facing a problem with a black screen on startup while working on your system? If yes, then don't worry, we have a solution for you. This issue usually occurs due to a problem in the fuel system in the /client/functions.lua file.

However, we cannot provide a universal solution for every system, as every fuel system is different. Therefore, we suggest you either connect your own fuel system or remove the existing one.

To remove the fuel system, follow the steps mentioned below:

Original code:

<pre class="language-lua"><code class="lang-lua">function SetVehicle(vehicle)
<strong>    -- Setup here your vehicle keys, fuel etc..
</strong>    
    if Config.Framework == "QBCore" then
        exports['LegacyFuel']:SetFuel(vehicle, 100.0)
        TriggerEvent("vehiclekeys:client:SetOwner", Core.Functions.GetPlate(vehicle))
    elseif Config.Framework == "ESX" then
    
    else
    
    end
end
</code></pre>

Modified code:

```lua
function SetVehicle(vehicle)

    -- Setup here your vehicle keys, fuel etc..

    if Config.Framework == "QBCore" then
        TriggerEvent("vehiclekeys:client:SetOwner", Core.Functions.GetPlate(vehicle))
    elseif Config.Framework == "ESX" then

    else

    end
end
```

By following these steps, you can remove the fuel system and solve the black screen issue on startup.

<br>


---

# 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://docs.17movement.net/multiplayer-jobs/common-issues/black-screen-on-start.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.
