[Request] Disable Random spawn points

Hi!

Can anyone tell me how to disable random spawn points?
I have my own server and really want to disable it.

1 Like

Random spawn points? I think you’re talking about map, in resources, you should have hipster…map and skater…map. You’ll find a map.lua file inside with a lot of spawn points, duplicate one of these resource and remove all spawn points but one (also set the coords you want). Then in your server.cfg start the resource you created :wink:

I don’t know if I’m clear, but, in fact, if you have random spawn, it’s because a map is started by default with a lots of spawn.

and how to spawn at the last position

2 Likes

You’ll need to save the pos in your database then when the player is connecting, set the spawn point with spawnmanager exports functions :wink:

1 Like

and how can i do this (automatically)

1 Like

you would have to use something like ESX which automatically saves positions of the player to the database

Is there any plugin to download?

Yes, as most have said: ESX which is Essential Mode Extended. look for it

1 Like

What do I have to add/edit there

1 Like

I do not know, i was just trying to point you to the right resource/plugin

I have
all that is inside the map.lua is --When editing this file, make sure to have at least 2 Spawnpoints!
im confused

2 Likes