Difference between revisions of "Game Events (Source)"

From AlliedModders Wiki
Jump to: navigation, search
(Half-Life 2 Server Events)
Line 5: Line 5:
 
=== server_spawn ===
 
=== server_spawn ===
 
{{qnotice|Send once a server starts}}<br>
 
{{qnotice|Send once a server starts}}<br>
{{begin-hl1msg|server_start|string}}
+
{{begin-hl2msg|server_start|string}}
{{hl1msg|string|hostname}}
+
{{hl2msg|string|hostname}}
{{hl1msg|string|address}}
+
{{hl2msg|string|address}}
{{hl1msg|string|port}}
+
{{hl2msg|string|port}}
{{hl1msg|string|game}}
+
{{hl2msg|string|game}}
{{hl1msg|string|mapname}}
+
{{hl2msg|string|mapname}}
{{hl1msg|long|maxplayers}}
+
{{hl2msg|long|maxplayers}}
{{hl1msg|string|os}}
+
{{hl2msg|string|os}}
{{hl1msg|bool|dedicated}}
+
{{hl2msg|bool|dedicated}}
{{hl1msg|bool|password}}
+
{{hl2msg|bool|password}}
{{end-hl1msg}}
+
{{end-hl2msg}}
  
 
= Counter-Strike: Source Events =
 
= Counter-Strike: Source Events =

Revision as of 22:38, 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