Skip to content

FiveM: Manage and Customize Spawnpoints with ESX

Discover how to customize and expand spawnpoints in the ESX framework for a better gameplay experience → Learn more now

12 November 20262 min read36 Views0 helpful

Don't have your own server yet? Host your FiveM server with ZAP-Hosting from €5.29 / month.

Introduction

Want to change the default spawnpoints or add new ones? Managing spawnpoints in the ESX framework is done via es_extended. Below, you'll learn how to customize them.

Configuration

Spawnpoints are set in the main.lua configuration file of es_extended (../es_extended/shared/config/). You can edit this file via FTP. If you’re not familiar with FTP yet, we recommend checking out our FTP Access guide.

The default spawnpoint configuration looks like this:

Code
Config.DefaultSpawns = { -- If you want more spawn locations and want them to be chosen randomly, remove the comment marks or add more spots
    { 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}
}

If you want to add more spawnpoints, simply add another entry in the configuration file:

Code
Config.DefaultSpawns = { -- If you want more spawn locations and want them to be chosen randomly, remove the comment marks or add more spots
    { 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}
    --{x = 766.5239, y = -112.0400, z = 30.2922, heading = 1.0} // NEW SPAWN
}
Info

Determining Coordinates To find the current coordinates, you need a suitable resource. You can find various tools online – just pick the one you like best. :)

Conclusion

With this method, you have successfully changed existing spawnpoints or added new ones. If you have further questions or need help, our support team is available daily! 🙂

Free tools

FiveM Tools

View all

FAQ

Frequently asked questions

Spawnpoints are set in the main.lua configuration file of es_extended (../es_extended/shared/config/), which you edit via FTP.
Add another entry with the desired x, y, z coordinates and heading in the Config.DefaultSpawns table inside main.lua.
You need a suitable resource that lets you read your current position in-game.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.