I see some servers using a spawn script to spawn players in a specific location?? I too need that script so that I can spawn players at the top of the drift track i’m using any help??
You can change or add the the spawn location in map.lua
spawnpoint 'SKIN_NAME' { x = X_CORD, y = Y_CORD, z = Z_CORD }
You can edit the game mode file to change spawn coordinates. Just look in your servers config to see which gamemofe you’re running, then edit that one.
Question is how do I get the cords? haha
Go to your drift track. (maybe with a chopper or something.) then open Enhanced Reborn and i think it was under teleport you can select “Show coordinates”.
Edit: Here can you find all the GTA5 skins (Ped Models): http://ragepluginhook.net/PedModels.aspx
UPDATE: I don’t have a map.lua file in my drift track directory…
post some screenshot from your directory.
Do what Trust37 says!
You need something like that for custom spawns.
__resource.lua
resource_type 'map' { gameTypes = { fivem = true } }
map 'map.lua'
map.lua
spawnpoint 'a_m_y_hipster_01' { x = -802.311, y = 175.056, z = 72.8446 }
did you sort this ?
go to your serveryml see which map ur running , open the resource , map.lua add a spwanpoint with xyz coordinates of where you want him to spawn and save and next start good
hey can you give me plz the path to find in my server the __resource.lua to put there the code for spawn?
qalle coords
that’s 3 years ago dude
4 years old topic which people are still bumping…