Skip to main content
Setting up px_spawn is simple and does not require any external dependencies beyond ox_lib.

Requirements

  • A working FiveM server
  • ox_lib installed and running
  • Access to your server files and configuration

Setup

Download the px_spawn resource and place it inside your server’s resources folder. Make sure the folder name remains unchanged so the script can register correctly. After placing the resource, add it to your server configuration so it starts automatically. Restart your server or refresh your resources so px_spawn loads properly.

Initial behavior

Once the resource is running:
  • Configured locations become active immediately
  • Markers and interaction prompts appear when players are nearby
  • The vehicle menu opens when the interaction key is pressed
  • Vehicles spawn using the settings defined in config
No additional setup steps are required for basic functionality.

Configuration

All customization is handled inside the config file. This includes:
  • Interaction distance and keybind
  • Marker appearance
  • Vehicle spawn behavior
  • Menu structure and labels
  • Vehicle list and spawn locations
The default configuration is ready to use, but can be adjusted to match your server style or use case.

Troubleshooting

If something is not working as expected:
  • Confirm ox_lib is installed and started before px_spawn
  • Check that the resource name has not been changed
  • Verify your locations and spawn coordinates are valid
  • Enable debug mode in config to see additional output

Next step

Head over to the Configuration section to customize how px_spawn behaves on your server.