Dear FiveM Community,
I was wondering if it is possible to change a player’s spawnpoint on command (without restarting the server).
Scenario:
Default RP Area is Paleto Bay, and everyone spawns in Paleto as they should. However, when I want to change the RP Area to e.g. Sandy I would also like the spawnpoint to change to Sandy.
Would this be possible? Without having to change the map.lua and restart the server?
I would like to add this function to the Area of Play resource: [Release] Area of Play / Patrol (Textdraw/Server Sync)
I’ll give an example in the morning when on pc if someone else hasn’t by then
Thanks in advance 
I have not been able to find something like this already, which is why I am asking.
maybe use maybe drz_interiors script… u can make spot like walk in one place and end somewhere else on map… not meant for what this is but maybe can use it for spawn points maybe… unless theirs one out there…lol i don’t know…lol
Not exactly what I am looking for haha, but thanks for the input 
edit both the fivem hipster / skater map and put the co ords where you want to spawn. use lambda to get the co ords. @Scott_UK will hopefully show u
I am at school doing exams right now
I will be back around 4-5 PM GMT
I already know how to change the spawnpoints in the hipster and skater map, I have those customized already. All I need to know is how to change the spawnpoints on command 
And Scott, hope your exams went well 
Would you mind still posting that example of yours? 
Yeah:
Client:
RegisterCommand('spawnhere', function(source, args, rawCommand) -- Works on client and server
coords = GetEntityCoords(GetPlayerPed(PlayerId()))
TriggerServerEvent('updateCoords', coords)
end)
AddEventHandler('playerSpawned', function()
SetEntityCoords(PlayerPedId(), coords)
end)
RegisterNetEvent('updateCoordsClient')
AddEventHandler('updateCoordsClient', function(coords)
coords = coords
end)
Server:
RegisterServerEvent('updateCoords')
AddEventHandler('updateCoords', function(coords)
TriggerClientEvent('updateCoordsClient', -1, coords)
end)
Sorry for my late reply @Scott_UK, but thank you very much for this!
Where do I input this? like on the skater map or something?
No in your resource, might not work didn’t test it.
oh ok, did you ever figure out a way to change on command?
That’s what the script does…
no man I mean you said you didn’t test it. and I put in resource and it didn’t work, is there a certain way you change it on your server?
Idk if it works I did not test it. This was a long time ago so it probably won’t work…