[HELP] GoKart map spawnpoints


#1

So i am using a custom map (gokart) and i am trying to configure spawn points. I made a map.lua and have entered the desired spawn points. But when i join the server i am still spawning in the ocean. Here is my map.lua

spawnpoint 'a_m_y_skater_01' { x = 2617.44, y = -375.941, z = 30.8845 }
spawnpoint 'a_m_y_skater_02' { x = 2620.04, y = -348.704, z = 30.7856 }
spawnpoint 'a_m_y_skater_01' { x = 2640.21, y = -329.119, z = 30.7308 }
spawnpoint 'a_m_y_skater_02' { x = 2670.69, y = -304.656, z = 30.6127 }
spawnpoint 'a_m_y_skater_01' { x = 2692.23, y = -315.058, z = 30.5118 }

--

Im sure its something small which i forgot to do, but i simply cant figure it out. Help would be great thanks.


#2

Have you added this into your __resource.lua file?

resource_type ‘map’ { gameTypes = { fivem = true } }

map ‘map.lua’


#3

lol. i knew it was something stupid. Thanks :smiley: