Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 6s ago· Viewing build 6726 (Sep 30 2026), not the latest

game_newmap

game event

Declared in core.gameevents

Named in the code or data of server, client.

Deadworks (C#), as GameNewmapEvent
[GameEventHandler("game_newmap")]
public HookResult OnGameNewmap(GameNewmapEvent args) {
	// args.Mapname, args.Transition
	return HookResult.Continue;
}

Fields

FieldTypeDeadworks propertyValve's comment
mapnamestring
Mapname string
map name
transitionbool
Transition bool
true if this is a transition from one map to another

History

  1. 6696–6745first dumped