Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 6s ago· Viewing build 6738 (Oct 02 2026), not the latest

vote_cast_yes

game event

Declared in core.gameevents

Not named anywhere in the server, client or engine binaries. It may be fired by scripts, or not at all.

Deadworks (C#), as VoteCastYesEvent
[GameEventHandler("vote_cast_yes")]
public HookResult OnVoteCastYes(VoteCastYesEvent args) {
	// args.Team, args.Entityid
	return HookResult.Continue;
}

Fields

FieldTypeDeadworks propertyValve's comment
teambyte
Team int
entityidlong
Entityid int
entity id of the voter

History

  1. 6696–6745first dumped