[RELEASE] Enhanced HUD

where do I have to insert that at esx_skin or where?

1 Like

I inserted that when the user is created when he joins the server for the first time.
That is in the esplugin_mysql. Search for ‘es_db:createUser’

But then again, even if you do that it is not usable because of the way information is stored. ESX cannot handle that unless you make some major changes.

1 Like

Can you guys please give this dude some time?? He already said they arent available and that he is working on them.

God Level ?

Oh god, so beautiful. :star_struck:

the Character creator is not ready yet, right?

You are the best! Please take it avalaible for ESX! Love ya!
I’m using already your speedometer(I removed only your fuel system)

the inventory have support for VRPEX? <3

this is just amazing work dude!

ok mate

Cant make it working …
Can someone help me ?

bool firstConnect = true
AddEventHandler("playerSpawn", function(spawn)
    local Source = source
    if firstConnect then
        	MySQL.Async.execute("INSERT INTO outfits (idSteam) VALUES (@identifier);", {identifier = GetPlayerIdentifiers(Source)})
       firstConnect = false
    end
end)
1 Like

It’s playerSpawned not playerSpawn. Also, GetPlayerIdentifiers(Source) returns an array of different identifiers so you will have to provide a specific one.

GetPlayerFromId(source)

really??

This UI has integrated into my framework nicely, thanks for this release :slight_smile: .

1 Like

Thanks Scott_UK for moving this to the Releases category.

The Hunger/Thirst script is now available. Check it on Github !

As mentionned on Github, do not use these scripts if you are not comfortable with development.
If you are a beginner developper, learn source code instead of copy/pasting resources.

Unfortunately I can’t adapt my code to every single existing resources (like FrFuel, vRP, etc…). All was done from scratch for a private unique server.

4 Likes

You don’t need to specify the type of the variable in Lua.

local --[[ localised ]] firstConnect = false

2 Likes

gfdgfdgfd

I need your help Hunger/Thirst SQL

What a release! Thank you for sharing. Looks great!

You added an extra comma in your sql statement for the hunger and thirst, here’s a fixed version:

CREATE TABLE `hungerthirst` (
  `idSteam` varchar(255) NOT NULL,
  `hunger` int(11) NOT NULL DEFAULT '100',
  `thirst` int(11) NOT NULL DEFAULT '100'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
2 Likes