where do i put set gametype?

set gametype

BULLSHIT!!!

set gametype "what you want it to say"
set maptype "what you want it to say"

no ( or )

Set Gametype
Go to your Resource Folder>[cfx-default]>[gamemodes]>basic-gamemode>fxmanifest.lua Line 9 resource_type 'gametype' { name = 'Freeroam' }

12 Likes

This also did not work for me any idea ?

Copy the code and paste it in any server side script…

Citizen.CreateThread(function()

Citizen.Wait(5*1000)

SetMapName('CHANGE ME MAP NAME')

end)
Citizen.CreateThread(function()

Citizen.Wait(5*1000)

SetGameType('CHANGE ME GAME TYPE')

end)
4 Likes

If you’re using es_extended you can change it in Main.lua.

1 Like

İts working for my Qbcore thanks :+1:

@TravisBrown you know how to change map name ?

thx so much