You have to wait for the resource fivem-map-hipster to load

server.lua :

Citizen.CreateThread(function()
	Citizen.Wait(5*1000)
	SetMapName("mapname")
end)
1 Like