I’m currently working on a race type Gamemode and I am trying to make it so you can choose how many laps in a race there are on the map selection screen.
There is no command to change how many laps though, and you can only edit how many laps there are in “shared.lua”
The code in “shared.lua” looks like this:
GM.NumLaps = 10
I’m not sure how you would make that so you can make it a console command with concommand.Add
I think you have to make it a function first, but i’m not that smart when it comes to lua.
Any help would be greatly appreciated thanks.