Просмотр исходного кода

gamemode before map

It is possible to have maps in the gamemodes folder. in that case its a requirement for the game to know the gamemode is before it can change to a map.
darkjacky 11 лет назад
Родитель
Сommit
bb3e7cc373
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      GarrysMod/gmodserver

+ 1 - 1
GarrysMod/gmodserver

@@ -32,7 +32,7 @@ ip="0.0.0.0"
 
 
 # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server
 # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server
 fn_parms(){
 fn_parms(){
-parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} +host_workshop_collection ${workshopcollectionid} -authkey ${workshopauth} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +gamemode ${gamemode} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
+parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} +host_workshop_collection ${workshopcollectionid} -authkey ${workshopauth} +clientport ${clientport} +tv_port ${sourcetvport} +gamemode ${gamemode} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
 }
 }
 
 
 #### Advanced Variables ####
 #### Advanced Variables ####