Difference between revisions of "Game Events (Source)"

From AlliedModders Wiki
Jump to: navigation, search
(Counter-Strike: Source Events: + team_info)
Line 18: Line 18:
  
 
= Counter-Strike: Source Events =
 
= Counter-Strike: Source Events =
 +
=== team_info ===
 +
{{qnotice|Info about team}}<br>
 +
{{begin-hl2msg|team_info|string}}
 +
{{hl2msg|byte|teamid}}
 +
{{hl2msg|string|teamname}}
 +
{{end-hl2msg}}

Revision as of 23:41, 7 June 2007

Half-Life 2 Events

Half-Life 2 Server Events

server_spawn

Note: Send once a server starts

Name: server_start
Structure:
string hostname {{{3}}}
string address {{{3}}}
string port {{{3}}}
string game {{{3}}}
string mapname {{{3}}}
long maxplayers {{{3}}}
string os {{{3}}}
bool dedicated {{{3}}}
bool password {{{3}}}


Counter-Strike: Source Events

team_info

Note: Info about team

Name: team_info
Structure:
byte teamid {{{3}}}
string teamname {{{3}}}