Give player items when he first joins server

so i have a fivem server and when he joins he gets burger osmth default esx legacy stuff, so anyways where do i change what items he gets?

and if anyone knows where do i change location of where he spawns first after join server first

Hello chtovic,

both things you can adjust/change/deactivate in your es_extended config. Search for the resource es_extended and open the config.lua there you will see the following entries:

Config.StartingAccountMoney = { bank = 50000 }

Config.StartingInventoryItems = false -- table/false

Config.DefaultSpawns = { -- If you want to have more spawn positions and select them randomly uncomment commented code or add more locations
    { x = 222.2027, y = -864.0162, z = 30.2922, heading = 1.0 },
    --{x = 224.9865, y = -865.0871, z = 30.2922, heading = 1.0},
    --{x = 227.8436, y = -866.0400, z = 30.2922, heading = 1.0},
    --{x = 230.6051, y = -867.1450, z = 30.2922, heading = 1.0},
    --{x = 233.5459, y = -868.2626, z = 30.2922, heading = 1.0}
}

Restart your FxServer to apply changes!

1 Like

when I try this it doesn’t work and gets errors I’m using ox inv is there something else I’m missing

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.