<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alliedmods.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=XxAvalanchexX</id>
	<title>AlliedModders Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alliedmods.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=XxAvalanchexX"/>
	<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/Special:Contributions/XxAvalanchexX"/>
	<updated>2026-05-09T10:19:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.6</generator>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3931</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3931"/>
		<updated>2007-02-18T22:28:52Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* Scenario */ fixed grammar error&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
&lt;br /&gt;
= Introduction =&lt;br /&gt;
&lt;br /&gt;
In [[AMX Mod X]] you are able to hook in-game messages/events with [http://www.amxmodx.org/funcwiki.php?search=register_message&amp;amp;go=search register_message] / [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of messages/events and their arguments which can be read with [http://www.amxmodx.org/funcwiki.php?search=get_msg_arg_&amp;amp;go=search get_msg_arg_*] / [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data].&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
*See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&amp;lt;br&amp;gt;&lt;br /&gt;
*See messages.inc and message_const.inc from amxmodx/scriptong/include folder or [http://www.amxmodx.org/funcwiki.php?go=inc&amp;amp;id=47 Messaging functions] and [http://www.amxmodx.org/funcwiki.php?go=inc&amp;amp;id=48 Message constants] for full messages control including blocking, argument alteration and much more.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= ADStop =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|This message has no arguments.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= AllowSpec =&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators CVar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual CVar value.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= AmmoPickup =&lt;br /&gt;
Temporarily draws [[HUD]] ammo amount and correspoding ammo [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Draw time is depend on the ''hud_drawhistory_time'' client CVar value.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|See [[CS Weapons Information]] for more information.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= AmmoX =&lt;br /&gt;
Updates the green bar indicator in the [[HUD]] weapons list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|See [[CS Weapons Information]] for more information.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ArmorType =&lt;br /&gt;
Draws/removes helmet [[HUD]] icon. If flag is set to 1 the helmet [[HUD]] icon will be drawn (located right on the armor icon).&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ArmorType|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= BarTime =&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds. Once the bar is fully filled it will be removed from the screen automatically.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= BarTime2 =&lt;br /&gt;
The same as BarTime but StartPercents is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - (StartPercents / 100)) / Duration''}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPercents}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= Battery =&lt;br /&gt;
Updates the icon and the number of armor on the [[HUD]].&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= BlinkAcct =&lt;br /&gt;
Makes a player's money display flash rapidly, until it flashes a total of BlinkAmt times.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|BlinkAcct|byte}}&lt;br /&gt;
{{hl1msg|byte|BlinkAmt}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= BombDrop =&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|CoordX}}&lt;br /&gt;
{{hl1msg|coord|CoordY}}&lt;br /&gt;
{{hl1msg|coord|CoordZ}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= BombPickup =&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|This message has no arguments.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= BotProgress =&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= BotVoice =&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the PlayerIndex. Status is 1 for talking, or 0 for not talking.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|PlayerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= Brass =&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|StartX}}&lt;br /&gt;
{{hl1msg|coord|StartY}}&lt;br /&gt;
{{hl1msg|coord|StartZ}}&lt;br /&gt;
{{hl1msg|coord|VelocityX?}}&lt;br /&gt;
{{hl1msg|coord|VelocityY?}}&lt;br /&gt;
{{hl1msg|coord|VelocityZ?}}&lt;br /&gt;
{{hl1msg|coord|UnknownX}}&lt;br /&gt;
{{hl1msg|coord|UnknownY}}&lt;br /&gt;
{{hl1msg|coord|UnknownZ}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= BuyClose =&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|This message has no arguments.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ClCorpse =&lt;br /&gt;
Spawns a player's corpse. ModelName is the player's model name, for example: &amp;quot;leet&amp;quot;. Delay is a delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Coord and Delay is in non-standard unknown format.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|In CS argument #10 is always equal to 0.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*See [http://www.amxmodx.org/funcwiki.php?go=module&amp;amp;id=4#const_teams CS Team Constants] for team indeces constants list.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|ModelName}}&lt;br /&gt;
{{hl1msg|long|CoordX}}&lt;br /&gt;
{{hl1msg|long|CoordY}}&lt;br /&gt;
{{hl1msg|long|CoordZ}}&lt;br /&gt;
{{hl1msg|coord|Angle0}}&lt;br /&gt;
{{hl1msg|coord|Angle1}}&lt;br /&gt;
{{hl1msg|coord|Angle2}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|ClassID?}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= Crosshair =&lt;br /&gt;
Draws/removes a crosshair. If Flag is set to 1 the crosshair will be drawn.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|This crossair looks not like the regular one but like the one that is drawn in the spectator mode.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= CurWeapon =&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|See [[CS Weapons Information]] for more information.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|IsActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= CZCareer =&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= CZCareerHUD =&lt;br /&gt;
Displays certain [[HUD]] elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= Damage =&lt;br /&gt;
Called when a player takes damage, to display the red locational indicators. The last three arguments is the origin of the damage inflictor or victim origin if inflictor isn't found. DamageType is a bitwise value usually consist of a single bit.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|DamageSave}}&lt;br /&gt;
{{hl1msg|byte|DamageTake}}&lt;br /&gt;
{{hl1msg|long|DamageType}}&lt;br /&gt;
{{hl1msg|coord|CoordX}}&lt;br /&gt;
{{hl1msg|coord|CoordY}}&lt;br /&gt;
{{hl1msg|coord|CoordZ}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= DeathMsg =&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with TruncatedWeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from TruncatedWeaponName ***&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|TruncatedWeaponName doesn't contain a &amp;quot;weapon_&amp;quot; prefix. See [[CS Weapons Information]] for more information.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|For grenade kill TruncatedWeaponName isn't &amp;quot;hegrenade&amp;quot; but &amp;quot;grenade&amp;quot;, in fact it's an actual classname of a throwed grenade.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|For KillerID it's not necessarily should be a PlayerID, it could be 0 if player dies from fall/acid/radiation/fire/etc damage/lack of oxygen or from touch to a &amp;quot;trigger_hurt&amp;quot; entity, in this case TruncatedWeaponName will be &amp;quot;worldspawn&amp;quot; and &amp;quot;trigger_hurt&amp;quot; respectively.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|For vehicle kills TruncatedWeaponName could be &amp;quot;vehicle&amp;quot;, &amp;quot;tank&amp;quot; et cetera.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|IsHeadshot}}&lt;br /&gt;
{{hl1msg|string|TruncatedWeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= FlashBat =&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]].&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePercents}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= Flashlight =&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePercents}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= Fog =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= ForceCam =&lt;br /&gt;
Called whenever mp_forcecam or mp_forcechasecam are changed, with their new values passed. There is assumedly a third CVar that this tracks, but it is yet unknown. Note that this message doesn't actually change any of the spectating rules for the client.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Even if mp_forcechasecam is set to 2, it is sent by this message as 1.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ForceCam|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|ForcecamValue}}&lt;br /&gt;
{{hl1msg|byte|ForcechasecamValue}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= GameMode =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|GameMode|byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= GameTitle =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Geiger =&lt;br /&gt;
Notifies about radiation level through special sound signals. Distance is a distance to hazard area.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|Geiger|byte}}&lt;br /&gt;
{{hl1msg|byte|Distance}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= Health =&lt;br /&gt;
Updates the number of health on the [[HUD]].&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|Health|byte}}&lt;br /&gt;
{{hl1msg|byte|Health}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= HideWeapon =&lt;br /&gt;
Hides the specified [[HUD]] elements.&amp;lt;br&amp;gt;&lt;br /&gt;
Flags:&lt;br /&gt;
   1   (1&amp;lt;&amp;lt;0)  -  crosshair, ammo, weapons list&lt;br /&gt;
   2   (1&amp;lt;&amp;lt;1)  -  flashlight, +&lt;br /&gt;
   4   (1&amp;lt;&amp;lt;2)  -  ALL&lt;br /&gt;
   8   (1&amp;lt;&amp;lt;3)  -  radar, health, armor, +&lt;br /&gt;
  16   (1&amp;lt;&amp;lt;4)  -  timer, +&lt;br /&gt;
  32   (1&amp;lt;&amp;lt;5)  -  money, +&lt;br /&gt;
  64   (1&amp;lt;&amp;lt;6)  -  crosshair&lt;br /&gt;
 128   (1&amp;lt;&amp;lt;7)  -  +&lt;br /&gt;
Symbol + mean that an additional crosshair will be drawn. That crosshair looks exactly like the one from Crosshair message.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|HideWeapon|byte}}&lt;br /&gt;
{{hl1msg|byte|Flags}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= HLTV =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|On new round is fired with both arguments equal to 0.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|HLTV|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|ClientID}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= HostageK =&lt;br /&gt;
Temporarily draws a blinking red dot on the CT players' radar when a hostage is killed.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= HostagePos =&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which is indicate the corresponding hostage position.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Is called with Flag set to 1 on player [[HUD]] full update.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|CoordX}}&lt;br /&gt;
{{hl1msg|coord|CoordY}}&lt;br /&gt;
{{hl1msg|coord|CoordZ}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= HudText =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= HudTextArgs =&lt;br /&gt;
Prints [[HUD]] text.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|An example of TextCode could be &amp;quot;#Hint_you_have_the_bomb&amp;quot;.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|If you have a problems with specifing the last two arguments use 1 and 0 respectively.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|HudTextArgs|string, byte, byte}}&lt;br /&gt;
{{hl1msg|string|TextCode}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= HudTextPro =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= InitHUD =&lt;br /&gt;
Initializes the [[HUD]].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|This message has no arguments.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|InitHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ItemPickup =&lt;br /&gt;
Temporarily draws correspoding item [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Draw time is depend on the ''hud_drawhistory_time'' client CVar value.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ItemPickup|string}}&lt;br /&gt;
{{hl1msg|string|ItemName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ItemStatus =&lt;br /&gt;
Notifies about carried items.&amp;lt;br&amp;gt;&lt;br /&gt;
Example of some item bits:&lt;br /&gt;
 1   (1&amp;lt;&amp;lt;0)  -  nightvision goggles&lt;br /&gt;
 2   (1&amp;lt;&amp;lt;1)  -  defusal kit&lt;br /&gt;
{{begin-hl1msg|ItemStatus|byte}}&lt;br /&gt;
{{hl1msg|byte|ItemsBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= Location =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|Location|byte, string}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|string|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= Money =&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= MOTD =&lt;br /&gt;
Displays MOTD window.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Max. Text length is 60. Large MOTD is sent in multiple messages. For the message that is send a last MOTD part the Flag will be set to 1 and 0 otherwise.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|MOTD|byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= NVGToggle =&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= Radar =&lt;br /&gt;
Draws/updates the dot on the [[HUD]] radar which is indicate the given player position.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Works for teammates only.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|Radar|byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|coord|CoordX}}&lt;br /&gt;
{{hl1msg|coord|CoordY}}&lt;br /&gt;
{{hl1msg|coord|CoordZ}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ReceiveW =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= ReloadSound =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ReloadSound|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ReqState =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|This message has no arguments.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ReqState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ResetHUD =&lt;br /&gt;
Resets the [[HUD]].&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|This message has no arguments.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= RoundTime =&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= SayText =&lt;br /&gt;
Prints say [[HUD]] text. Second argument can be a predefined string or a custom one. In the last case the last two arguments isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
An examples of a predifined Counter-Strike string values: #Cstrike_Chat_AllDead, #Cstrike_Name_Change&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|For #Cstrike_Name_Change String2 is an old name and String3 is a new name.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String1}}&lt;br /&gt;
{{hl1msg|string|String2}}&lt;br /&gt;
{{hl1msg|string|String3}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= Scenario =&lt;br /&gt;
If Active is 0, this display will be hidden. If Active is 1, displays Sprite (valid names listed in sprites/hud.txt) to the right of the round timer with an alpha value of Alpha (100-255). If FlashRate is nonzero, then the sprite will flash from the given alpha to an alpha of 100, at a rate of FlashRate (measured in ???). This is used by CZ to display how many hostages remain unrescued, and also to display the ticking bomb when it is planted.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|If Active is 0, don't send any other arguments afterwards. Also, you don't need to send either short if FlashRate is just going to be 0.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[image:Cs_scenario_msg.jpg|frame|right|Scenario message in CS, using the following parameters: 1, d_mp5navy, 150]]&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Works in both CS and CZ!}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|In CZ (and possibly CS), if someone respawns after the bomb has been planted, their Scenario event will not work at all until the next round.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|Scenario|byte, string, byte, short, short}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|string|Sprite}}&lt;br /&gt;
{{hl1msg|byte|Alpha}}&lt;br /&gt;
{{hl1msg|short|FlashRate}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ScoreAttrib =&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, (1&amp;lt;&amp;lt;0) i.e. 1 is dead, (1&amp;lt;&amp;lt;1) i.e. 2 is bomb, (1&amp;lt;&amp;lt;2) i.e. 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Flags is a bitwise value so if VIP player is dying with the bomb the Flags will be 7 i.e. bit sum of all flags.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flags}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ScoreInfo =&lt;br /&gt;
Updates the scoreboard with the given player's Frags and Deaths.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|In CS the 4th argument is always equal to 0.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*See [http://www.amxmodx.org/funcwiki.php?go=module&amp;amp;id=4#const_teams CS Team Constants] for team indeces constants list.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ScoreInfo|byte, short, short, short, short}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|short|Frags}}&lt;br /&gt;
{{hl1msg|short|Deaths}}&lt;br /&gt;
{{hl1msg|short|ClassID?}}&lt;br /&gt;
{{hl1msg|short|TeamID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ScreenFade =&lt;br /&gt;
Fades the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Duration and HoldTime is in special units. 1 second is equal to (1&amp;lt;&amp;lt;12) i.e. 4096 units.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Flags (from HLSDK):&lt;br /&gt;
 FFADE_IN         0x0000 // Just here so we don't pass 0 into the function&lt;br /&gt;
 FFADE_OUT        0x0001 // Fade out (not in)&lt;br /&gt;
 FFADE_MODULATE   0x0002 // Modulate (don't blend)&lt;br /&gt;
 FFADE_STAYOUT    0x0004 // ignores the duration, stays faded out until new ScreenFade message received&lt;br /&gt;
{{begin-hl1msg|ScreenFade|short, short, short, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|HoldTime}}&lt;br /&gt;
{{hl1msg|short|Flags}}&lt;br /&gt;
{{hl1msg|byte|ColorR}}&lt;br /&gt;
{{hl1msg|byte|ColorG}}&lt;br /&gt;
{{hl1msg|byte|ColorB}}&lt;br /&gt;
{{hl1msg|byte|Alpha}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ScreenShake =&lt;br /&gt;
Shakes the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|All arguments is in special units. 1 second is equal to (1&amp;lt;&amp;lt;12) i.e. 4096 units.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ScreenShake|short, short, short}}&lt;br /&gt;
{{hl1msg|short|Amplitude}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|Frequency}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= SendAudio =&lt;br /&gt;
Plays the specified audio. An example of AudioCode could be &amp;quot;%!MRAD_rounddraw&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|SendAudio|byte, string, short}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|AudioCode}}&lt;br /&gt;
{{hl1msg|short|Pitch}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ServerName =&lt;br /&gt;
Sends a server name to a client.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ServerName|string}}&lt;br /&gt;
{{hl1msg|string|ServerName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= SetFOV =&lt;br /&gt;
Sets the specified field of view.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|SetFOV|byte}}&lt;br /&gt;
{{hl1msg|byte|Degrees}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ShadowIdx =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ShadowIdx|long}}&lt;br /&gt;
{{hl1msg|long|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ShowMenu =&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (i.e.: string is too big to fit into one). On the final message, Multipart should be 0.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short, char, byte, string}}&lt;br /&gt;
{{hl1msg|short|KeysBitSum}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ShowTimer =&lt;br /&gt;
Forces the round timer displaying.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|This message has no arguments.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ShowTimer}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= SpecHealth =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|SpecHealth|byte}}&lt;br /&gt;
{{hl1msg|byte|Health?}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= SpecHealth2 =&lt;br /&gt;
Updates the observer's screen with a name and health of the given player.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|SpecHealth2|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Health}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= Spectator =&lt;br /&gt;
Called when player becomes an observer/spectator.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|On join to Spectators usually is fired twice in a row.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|Spectator|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|ClientID}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= StatusIcon =&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Color arguments are optional and is required only if Status aren't equal to 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|ColorR}}&lt;br /&gt;
{{hl1msg|byte|ColorG}}&lt;br /&gt;
{{hl1msg|byte|ColorB}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= StatusValue =&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is Hostage, PlayerID will be 0 or will be not sent at all.&amp;lt;br&amp;gt;&lt;br /&gt;
Usually is fired as a triple message, for example:&lt;br /&gt;
 {1,  2}  -  non-teammate player&lt;br /&gt;
 {2, 17}  -  player index is 17&lt;br /&gt;
 {3, 59}  -  player health is 59&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= StatusText =&lt;br /&gt;
Specifies the status text format.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= TaskTime =&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;&lt;br /&gt;
If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= TeamInfo =&lt;br /&gt;
Sets the team information for the given player.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|In CS TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot;, &amp;quot;CT&amp;quot; or &amp;quot;SPECTATOR&amp;quot;.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= TeamScore =&lt;br /&gt;
Updates the team score on the score board.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|In CS TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= TextMsg =&lt;br /&gt;
Prints a cutom/or predefined text message.&amp;lt;br&amp;gt;&lt;br /&gt;
There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&lt;br /&gt;
 Arg1: 1&lt;br /&gt;
 Arg2: #Game_join_ct&lt;br /&gt;
 Arg3: Pimp Daddy&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|DestinationType}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= Train =&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|Train|byte}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= TutorClose =&lt;br /&gt;
Closes all CZ-style tutor popups.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TutorLine =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TutorState =&lt;br /&gt;
{{qnotice|No Information available for this message.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= TutorText =&lt;br /&gt;
Used to display a CZ-style tutor popup.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|TutorText|string, byte, short, short, short}}&lt;br /&gt;
{{hl1msg|string|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= ViewMode =&lt;br /&gt;
{{qnotice|No Information available for this message (HLSDK says this switches to first-person view, but it doesn't seem to function as so).}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|This message has no arguments.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= VGUIMenu =&lt;br /&gt;
Displays a predefined VGUI menu.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|MenuID}}&lt;br /&gt;
{{hl1msg|short|KeysBitSum}}&lt;br /&gt;
{{hl1msg|char|Time?}}&lt;br /&gt;
{{hl1msg|byte|Multipart?}}&lt;br /&gt;
{{hl1msg|string|Name?}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= VoiceMask =&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= WeaponList =&lt;br /&gt;
Configures the [[HUD]] weapons list.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Fired on map initialization.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|SlotID starts from 0.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Flags (from HLSDK):&lt;br /&gt;
 ITEM_FLAG_SELECTONEMPTY       1&lt;br /&gt;
 ITEM_FLAG_NOAUTORELOAD        2&lt;br /&gt;
 ITEM_FLAG_NOAUTOSWITCHEMPTY   4&lt;br /&gt;
 ITEM_FLAG_LIMITINWORLD        8&lt;br /&gt;
 ITEM_FLAG_EXHAUSTIBLE        16 // A player can totally exhaust their ammo supply and lose this weapon.&lt;br /&gt;
{{qnotice|See [[CS Weapons Information]] for more information.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|WeaponList|string, byte, byte, byte, byte, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{hl1msg|byte|PrimaryAmmoID}}&lt;br /&gt;
{{hl1msg|byte|PrimaryAmmoMaxAmount}}&lt;br /&gt;
{{hl1msg|byte|SecondaryAmmoID}}&lt;br /&gt;
{{hl1msg|byte|SecondaryAmmoMaxAmount}}&lt;br /&gt;
{{hl1msg|byte|SlotID}}&lt;br /&gt;
{{hl1msg|byte|NumberInSlot}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|Flags}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
= WeapPickup =&lt;br /&gt;
Temporarily draws correspoding weapon [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Draw time is depend on the ''hud_drawhistory_time'' client CVar value.}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|Is fired right before weapon is picked up (notice ''&amp;quot;before&amp;quot;'').}}&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{qnotice|See [[CS Weapons Information]] for more information.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=User:Twistedeuphoria&amp;diff=3923</id>
		<title>User:Twistedeuphoria</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=User:Twistedeuphoria&amp;diff=3923"/>
		<updated>2007-02-12T06:30:16Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: FIXED TYPOS LOL RUKIA WTG&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== TwistedEuphoria==&lt;br /&gt;
Euphoria, known as &amp;quot;Twisty&amp;quot; or &amp;quot;The twisted one&amp;quot; by his friends (of whom you are NOT a part of), is an insane but quite lazy and lethargic man, who is also a basement dweller. He is the only person to date to have communicated over IRC without moving.&lt;br /&gt;
&lt;br /&gt;
=== Childhood ===&lt;br /&gt;
From the moment he was born, Twisty's parents knew he would be a failure of epic proportions.&lt;br /&gt;
This story is, remarkably, about Twisty's birth:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
euphoriasai	once the doctor hit me and i didnt move&lt;br /&gt;
euphoriasai	then i was like oh hey i should move&lt;br /&gt;
euphoriasai	then i did&lt;br /&gt;
euphoriasai	true story&lt;br /&gt;
BAILOPAN	then you collapsed from exhaustion&lt;br /&gt;
euphoriasai	yeah that moving thing is overrated&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From that moment on, not much changed. &lt;br /&gt;
&lt;br /&gt;
Twisty didn't move more than an inch until his tenth birthday, when he was plyed with alcohol to move towards a large peice of cake. This is also the day that Twisty became an orphan, as his parents were caught plying many young girls with alcohol, along with Twisty. In a feat of untold horror, the police uncovered an amount of child pornography that made the great egyptian pyramids look like mole hills.&lt;br /&gt;
&lt;br /&gt;
At this point, Twisty was over 500 pounds, and used a computer with OSX on it.&lt;br /&gt;
&lt;br /&gt;
Currently, Twisty is at a much more acceptable weight, and uses a PC, but unfortunately, he still doesn't move much. In a feat of untold will, he has managed to link with IRC telepathically, so that he can sleep and chat with friends. Well, not really &amp;quot;friends&amp;quot;, more like people...that work and talk with other people....that they hate.&lt;br /&gt;
&lt;br /&gt;
Twisty has a great deal of telekenetic skill, as he refuses to move very much. Unfortunately, he is also very lazy, and telekenesis takes a lot of energy and concentration.&lt;br /&gt;
&lt;br /&gt;
Twisty also has the innate ability to see ghosts. At some point, he had orange hair, and was actually muscular, as his fat imploded into him due to the immense tidal forces, forming muscle somehow, and met some girl, stole her virginity and powerz, and got a kickass sword. Luckily for all humanity, some homeless guy named Aizen managed to steal the sword from him. In a fit of rage, Twisty locked himself in his basement. He has not come out since.&lt;br /&gt;
&lt;br /&gt;
For a detailed analysis of these events in Twisty's life, read the manga &amp;quot;Bleach&amp;quot;. While slightly exaggerated for marketing purpose, it is Twisty's teenage years. More or less.&lt;br /&gt;
&lt;br /&gt;
=== A average day with the Twisted One ===&lt;br /&gt;
All he does is sleep, masturbate, and communicate online. That's it. Stop reading. Theres no more to tell! I'm serious!&lt;br /&gt;
&lt;br /&gt;
=== Twisty on virginity ===&lt;br /&gt;
Twisty will take your virginity. If you think this is impossible, because you've already lost yours, you are wrong.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt; Dead wrong &amp;lt;/tt&amp;gt;&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3719</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3719"/>
		<updated>2007-01-03T19:38:28Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* Scenario */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
Makes a player's money display flash rapidly, until it flashes a total of BlinkAmt times.&lt;br /&gt;
{{begin-hl1msg|BlinkAcct|byte}}&lt;br /&gt;
{{hl1msg|byte|BlinkAmt}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|Start X}}&lt;br /&gt;
{{hl1msg|coord|Start Y}}&lt;br /&gt;
{{hl1msg|coord|Start Z}}&lt;br /&gt;
{{hl1msg|coord|Velocity X?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Y?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Z?}}&lt;br /&gt;
{{hl1msg|coord|Unknown X}}&lt;br /&gt;
{{hl1msg|coord|Unknown Y}}&lt;br /&gt;
{{hl1msg|coord|Unknown Z}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
Called whenever mp_forcecam or mp_forcechasecam are changed, with their new values passed. There is assumedly a third cvar that this tracks, but it is yet unknown. Note that this message doesn't actually change any of the spectating rules for the client.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Even if mp_forcechasecam is set to 2, it is sent by this message as 1.}}&lt;br /&gt;
{{begin-hl1msg|ForceCam|byte,byte,byte}}&lt;br /&gt;
{{hl1msg|byte|forcecamValue}}&lt;br /&gt;
{{hl1msg|byte|forcechasecamValue}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
If Active is 0, this display will be hidden. If Active is 1, displays Sprite (valid names listed in sprites/hud.txt) to the right of the round timer with an alpha value of Alpha (100-255). If flashRate is nonzero, then the sprite will flash from given the given alpha to an alpha of 100, at a rate of flashRate (measured in ???). This is used by CZ to display how many hostages remain unrescued, and also to display the ticking bomb when it is planted.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|If Active is 0, don't send any other arguments afterwards. Also, you don't need to send either short if flashRate is just going to be 0.}}&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:Cs_scenario_msg.jpg|frame|right|Scenario message in CS, using the following parameters: 1, d_mp5navy, 150]]&lt;br /&gt;
{{qnotice|Works in both CS and CZ!}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|In CZ (and possibly CS), if someone respawns after the bomb has been planted, their Scenario event will not work at all until the next round.}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte,string,byte,short,short}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|string|Sprite}}&lt;br /&gt;
{{hl1msg|byte|Alpha}}&lt;br /&gt;
{{hl1msg|short|flashRate}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
Closes all CZ-style tutor popups.&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
Used to display a CZ-style tutor popup.&lt;br /&gt;
{{begin-hl1msg|TutorText|string,byte,short,short,short}}&lt;br /&gt;
{{hl1msg|string|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event (HLSDK says this switches to first-person view, but it doesn't seem to function as so)}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3703</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3703"/>
		<updated>2007-01-01T07:47:01Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* Scenario */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
Makes a player's money display flash rapidly, until it flashes a total of BlinkAmt times.&lt;br /&gt;
{{begin-hl1msg|BlinkAcct|byte}}&lt;br /&gt;
{{hl1msg|byte|BlinkAmt}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|Start X}}&lt;br /&gt;
{{hl1msg|coord|Start Y}}&lt;br /&gt;
{{hl1msg|coord|Start Z}}&lt;br /&gt;
{{hl1msg|coord|Velocity X?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Y?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Z?}}&lt;br /&gt;
{{hl1msg|coord|Unknown X}}&lt;br /&gt;
{{hl1msg|coord|Unknown Y}}&lt;br /&gt;
{{hl1msg|coord|Unknown Z}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
Called whenever mp_forcecam or mp_forcechasecam are changed, with their new values passed. There is assumedly a third cvar that this tracks, but it is yet unknown. Note that this message doesn't actually change any of the spectating rules for the client.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Even if mp_forcechasecam is set to 2, it is sent by this message as 1.}}&lt;br /&gt;
{{begin-hl1msg|ForceCam|byte,byte,byte}}&lt;br /&gt;
{{hl1msg|byte|forcecamValue}}&lt;br /&gt;
{{hl1msg|byte|forcechasecamValue}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
If Active is 0, this display will be hidden. If Active is 1, displays Sprite (valid names listed in sprites/hud.txt) to the right of the round timer with an alpha value of Alpha (100-255). If flashRate is nonzero, then the sprite will flash from given the given alpha to an alpha of 100, at a rate of flashRate (measured in ???). This is used by CZ to display how many hostages remain unrescued, and also to display the ticking bomb when it is planted.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|If Active is 0, don't send any other arguments afterwards. Also, you don't need to send either short if flashRate is just going to be 0.}}&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:Cs_scenario_msg.jpg|frame|right|Scenario message in CS, using the following parameters: 1, d_mp5navy, 150]]&lt;br /&gt;
{{qnotice|Works in both CS and CZ!}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte,string,byte,short,short}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|string|Sprite}}&lt;br /&gt;
{{hl1msg|byte|Alpha}}&lt;br /&gt;
{{hl1msg|short|flashRate}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
Closes all CZ-style tutor popups.&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
Used to display a CZ-style tutor popup.&lt;br /&gt;
{{begin-hl1msg|TutorText|string,byte,short,short,short}}&lt;br /&gt;
{{hl1msg|string|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event (HLSDK says this switches to first-person view, but it doesn't seem to function as so)}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3702</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3702"/>
		<updated>2007-01-01T07:46:42Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* Scenario */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
Makes a player's money display flash rapidly, until it flashes a total of BlinkAmt times.&lt;br /&gt;
{{begin-hl1msg|BlinkAcct|byte}}&lt;br /&gt;
{{hl1msg|byte|BlinkAmt}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|Start X}}&lt;br /&gt;
{{hl1msg|coord|Start Y}}&lt;br /&gt;
{{hl1msg|coord|Start Z}}&lt;br /&gt;
{{hl1msg|coord|Velocity X?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Y?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Z?}}&lt;br /&gt;
{{hl1msg|coord|Unknown X}}&lt;br /&gt;
{{hl1msg|coord|Unknown Y}}&lt;br /&gt;
{{hl1msg|coord|Unknown Z}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
Called whenever mp_forcecam or mp_forcechasecam are changed, with their new values passed. There is assumedly a third cvar that this tracks, but it is yet unknown. Note that this message doesn't actually change any of the spectating rules for the client.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Even if mp_forcechasecam is set to 2, it is sent by this message as 1.}}&lt;br /&gt;
{{begin-hl1msg|ForceCam|byte,byte,byte}}&lt;br /&gt;
{{hl1msg|byte|forcecamValue}}&lt;br /&gt;
{{hl1msg|byte|forcechasecamValue}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
If Active is 0, this display will be hidden. If Active is 1, displays Sprite (valid names listed in sprites/hud.txt) to the right of the round timer with an alpha value of Alpha (100-255). If flashRate is nonzero, then the sprite will flash from given the given alpha to an alpha of 100, at a rate of flashRate (measured in ???). This is used by CZ to display how many hostages remain unrescued, and also to display the ticking bomb when it is planted.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|If Active is 0, don't send any other arguments afterwards. Also, you don't need to send either short if flashRate is just going to be 0.}}&amp;lt;br&amp;gt;&lt;br /&gt;
[[image:Cs_scenario_msg.jpg|frame|right|Scenario message, using the following parameters: 1, d_mp5navy, 150]]&lt;br /&gt;
{{qnotice|Works in both CS and CZ!}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte,string,byte,short,short}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|string|Sprite}}&lt;br /&gt;
{{hl1msg|byte|Alpha}}&lt;br /&gt;
{{hl1msg|short|flashRate}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
Closes all CZ-style tutor popups.&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
Used to display a CZ-style tutor popup.&lt;br /&gt;
{{begin-hl1msg|TutorText|string,byte,short,short,short}}&lt;br /&gt;
{{hl1msg|string|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event (HLSDK says this switches to first-person view, but it doesn't seem to function as so)}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=File:Cs_scenario_msg.jpg&amp;diff=3701</id>
		<title>File:Cs scenario msg.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=File:Cs_scenario_msg.jpg&amp;diff=3701"/>
		<updated>2007-01-01T07:34:33Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Example of the Counter-Strike/Condition Zero &amp;quot;Scenario&amp;quot; message, using the following parameters: 1, d_mp5navy, 150&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=File:Cs_scenario_msg.jpg&amp;diff=3700</id>
		<title>File:Cs scenario msg.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=File:Cs_scenario_msg.jpg&amp;diff=3700"/>
		<updated>2007-01-01T07:33:58Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: Example of the Counter-Strike/Condition Zero &amp;quot;Scenario&amp;quot; message, using the following paramaters: 1, d_mp5navy, 150&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Example of the Counter-Strike/Condition Zero &amp;quot;Scenario&amp;quot; message, using the following paramaters: 1, d_mp5navy, 150&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3693</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3693"/>
		<updated>2006-12-31T05:25:56Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* Scenario */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
Makes a player's money display flash rapidly, until it flashes a total of BlinkAmt times.&lt;br /&gt;
{{begin-hl1msg|BlinkAcct|byte}}&lt;br /&gt;
{{hl1msg|byte|BlinkAmt}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|Start X}}&lt;br /&gt;
{{hl1msg|coord|Start Y}}&lt;br /&gt;
{{hl1msg|coord|Start Z}}&lt;br /&gt;
{{hl1msg|coord|Velocity X?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Y?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Z?}}&lt;br /&gt;
{{hl1msg|coord|Unknown X}}&lt;br /&gt;
{{hl1msg|coord|Unknown Y}}&lt;br /&gt;
{{hl1msg|coord|Unknown Z}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
Called whenever mp_forcecam or mp_forcechasecam are changed, with their new values passed. There is assumedly a third cvar that this tracks, but it is yet unknown. Note that this message doesn't actually change any of the spectating rules for the client.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Even if mp_forcechasecam is set to 2, it is sent by this message as 1.}}&lt;br /&gt;
{{begin-hl1msg|ForceCam|byte,byte,byte}}&lt;br /&gt;
{{hl1msg|byte|forcecamValue}}&lt;br /&gt;
{{hl1msg|byte|forcechasecamValue}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
If Active is 0, this display will be hidden. If Active is 1, displays Sprite (valid names listed in sprites/hud.txt) to the right of the round timer with an alpha value of Alpha (100-255). If flashRate is nonzero, then the sprite will flash from given the given alpha to an alpha of 100, at a rate of flashRate (measured in ???). This is used by CZ to display how many hostages remain unrescued, and also to display the ticking bomb when it is planted.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|If Active is 0, don't send any other arguments afterwards. Also, you don't need to send either short if flashRate is just going to be 0.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Works in both CS and CZ!}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte,string,byte,short,short}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|string|Sprite}}&lt;br /&gt;
{{hl1msg|byte|Alpha}}&lt;br /&gt;
{{hl1msg|short|flashRate}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
Closes all CZ-style tutor popups.&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
Used to display a CZ-style tutor popup.&lt;br /&gt;
{{begin-hl1msg|TutorText|string,byte,short,short,short}}&lt;br /&gt;
{{hl1msg|string|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event (HLSDK says this switches to first-person view, but it doesn't seem to function as so)}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3692</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3692"/>
		<updated>2006-12-31T05:23:50Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* Scenario */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
Makes a player's money display flash rapidly, until it flashes a total of BlinkAmt times.&lt;br /&gt;
{{begin-hl1msg|BlinkAcct|byte}}&lt;br /&gt;
{{hl1msg|byte|BlinkAmt}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|Start X}}&lt;br /&gt;
{{hl1msg|coord|Start Y}}&lt;br /&gt;
{{hl1msg|coord|Start Z}}&lt;br /&gt;
{{hl1msg|coord|Velocity X?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Y?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Z?}}&lt;br /&gt;
{{hl1msg|coord|Unknown X}}&lt;br /&gt;
{{hl1msg|coord|Unknown Y}}&lt;br /&gt;
{{hl1msg|coord|Unknown Z}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
Called whenever mp_forcecam or mp_forcechasecam are changed, with their new values passed. There is assumedly a third cvar that this tracks, but it is yet unknown. Note that this message doesn't actually change any of the spectating rules for the client.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Even if mp_forcechasecam is set to 2, it is sent by this message as 1.}}&lt;br /&gt;
{{begin-hl1msg|ForceCam|byte,byte,byte}}&lt;br /&gt;
{{hl1msg|byte|forcecamValue}}&lt;br /&gt;
{{hl1msg|byte|forcechasecamValue}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
If Active, displays Sprite (valid names listed in sprites/hud.txt) to the right of the round timer with an alpha value of Alpha (100-255). If flashRate is nonzero, then the sprite will flash from given the given alpha to an alpha of 100, at a rate of flashRate (measured in ???). This is used by CZ to display how many hostages remain unrescued, and also to display the ticking bomb when it is planted.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|If Active is 0, don't send any other arguments afterwards. Also, you don't need to send either short if flashRate is just going to be 0.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Works in both CS and CZ!}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte,string,byte,short,short}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|string|Sprite}}&lt;br /&gt;
{{hl1msg|byte|Alpha}}&lt;br /&gt;
{{hl1msg|short|flashRate}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
Closes all CZ-style tutor popups.&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
Used to display a CZ-style tutor popup.&lt;br /&gt;
{{begin-hl1msg|TutorText|string,byte,short,short,short}}&lt;br /&gt;
{{hl1msg|string|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event (HLSDK says this switches to first-person view, but it doesn't seem to function as so)}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3691</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3691"/>
		<updated>2006-12-31T05:20:14Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* Scenario */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
Makes a player's money display flash rapidly, until it flashes a total of BlinkAmt times.&lt;br /&gt;
{{begin-hl1msg|BlinkAcct|byte}}&lt;br /&gt;
{{hl1msg|byte|BlinkAmt}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|Start X}}&lt;br /&gt;
{{hl1msg|coord|Start Y}}&lt;br /&gt;
{{hl1msg|coord|Start Z}}&lt;br /&gt;
{{hl1msg|coord|Velocity X?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Y?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Z?}}&lt;br /&gt;
{{hl1msg|coord|Unknown X}}&lt;br /&gt;
{{hl1msg|coord|Unknown Y}}&lt;br /&gt;
{{hl1msg|coord|Unknown Z}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
Called whenever mp_forcecam or mp_forcechasecam are changed, with their new values passed. There is assumedly a third cvar that this tracks, but it is yet unknown. Note that this message doesn't actually change any of the spectating rules for the client.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Even if mp_forcechasecam is set to 2, it is sent by this message as 1.}}&lt;br /&gt;
{{begin-hl1msg|ForceCam|byte,byte,byte}}&lt;br /&gt;
{{hl1msg|byte|forcecamValue}}&lt;br /&gt;
{{hl1msg|byte|forcechasecamValue}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
If Active, displays Sprite to the right of round timer with an alpha of Alpha (0-255). If flashRate is nonzero, then the icon flashes from given alpha to an alpha of 100, at that rate (measured in ???). This is used by CZ to display how many hostages remain unrescued, and also to display the ticking bomb when it is planted.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|If Active is 0, don't send any other arguments afterwards. If flashRate is 0, don't bother sending either short.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Works in both CS and CZ!}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte,string,byte,short,short}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|string|Sprite}}&lt;br /&gt;
{{hl1msg|byte|Alpha}}&lt;br /&gt;
{{hl1msg|short|flashRate}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
Closes all CZ-style tutor popups.&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
Used to display a CZ-style tutor popup.&lt;br /&gt;
{{begin-hl1msg|TutorText|string,byte,short,short,short}}&lt;br /&gt;
{{hl1msg|string|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event (HLSDK says this switches to first-person view, but it doesn't seem to function as so)}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3690</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3690"/>
		<updated>2006-12-31T04:15:13Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* TutorText */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
Makes a player's money display flash rapidly, until it flashes a total of BlinkAmt times.&lt;br /&gt;
{{begin-hl1msg|BlinkAcct|byte}}&lt;br /&gt;
{{hl1msg|byte|BlinkAmt}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|Start X}}&lt;br /&gt;
{{hl1msg|coord|Start Y}}&lt;br /&gt;
{{hl1msg|coord|Start Z}}&lt;br /&gt;
{{hl1msg|coord|Velocity X?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Y?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Z?}}&lt;br /&gt;
{{hl1msg|coord|Unknown X}}&lt;br /&gt;
{{hl1msg|coord|Unknown Y}}&lt;br /&gt;
{{hl1msg|coord|Unknown Z}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
Called whenever mp_forcecam or mp_forcechasecam are changed, with their new values passed. There is assumedly a third cvar that this tracks, but it is yet unknown. Note that this message doesn't actually change any of the spectating rules for the client.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Even if mp_forcechasecam is set to 2, it is sent by this message as 1.}}&lt;br /&gt;
{{begin-hl1msg|ForceCam|byte,byte,byte}}&lt;br /&gt;
{{hl1msg|byte|forcecamValue}}&lt;br /&gt;
{{hl1msg|byte|forcechasecamValue}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
Closes all CZ-style tutor popups.&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
Used to display a CZ-style tutor popup.&lt;br /&gt;
{{begin-hl1msg|TutorText|string,byte,short,short,short}}&lt;br /&gt;
{{hl1msg|string|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event (HLSDK says this switches to first-person view, but it doesn't seem to function as so)}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3689</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3689"/>
		<updated>2006-12-31T04:06:26Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* BlinkAcct */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
Makes a player's money display flash rapidly, until it flashes a total of BlinkAmt times.&lt;br /&gt;
{{begin-hl1msg|BlinkAcct|byte}}&lt;br /&gt;
{{hl1msg|byte|BlinkAmt}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|Start X}}&lt;br /&gt;
{{hl1msg|coord|Start Y}}&lt;br /&gt;
{{hl1msg|coord|Start Z}}&lt;br /&gt;
{{hl1msg|coord|Velocity X?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Y?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Z?}}&lt;br /&gt;
{{hl1msg|coord|Unknown X}}&lt;br /&gt;
{{hl1msg|coord|Unknown Y}}&lt;br /&gt;
{{hl1msg|coord|Unknown Z}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
Called whenever mp_forcecam or mp_forcechasecam are changed, with their new values passed. There is assumedly a third cvar that this tracks, but it is yet unknown. Note that this message doesn't actually change any of the spectating rules for the client.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Even if mp_forcechasecam is set to 2, it is sent by this message as 1.}}&lt;br /&gt;
{{begin-hl1msg|ForceCam|byte,byte,byte}}&lt;br /&gt;
{{hl1msg|byte|forcecamValue}}&lt;br /&gt;
{{hl1msg|byte|forcechasecamValue}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
Closes all CZ-style tutor popups.&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event (HLSDK says this switches to first-person view, but it doesn't seem to function as so)}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3688</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3688"/>
		<updated>2006-12-31T03:53:48Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* TutorClose */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|Start X}}&lt;br /&gt;
{{hl1msg|coord|Start Y}}&lt;br /&gt;
{{hl1msg|coord|Start Z}}&lt;br /&gt;
{{hl1msg|coord|Velocity X?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Y?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Z?}}&lt;br /&gt;
{{hl1msg|coord|Unknown X}}&lt;br /&gt;
{{hl1msg|coord|Unknown Y}}&lt;br /&gt;
{{hl1msg|coord|Unknown Z}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
Called whenever mp_forcecam or mp_forcechasecam are changed, with their new values passed. There is assumedly a third cvar that this tracks, but it is yet unknown. Note that this message doesn't actually change any of the spectating rules for the client.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Even if mp_forcechasecam is set to 2, it is sent by this message as 1.}}&lt;br /&gt;
{{begin-hl1msg|ForceCam|byte,byte,byte}}&lt;br /&gt;
{{hl1msg|byte|forcecamValue}}&lt;br /&gt;
{{hl1msg|byte|forcechasecamValue}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
Closes all CZ-style tutor popups.&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event (HLSDK says this switches to first-person view, but it doesn't seem to function as so)}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3687</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3687"/>
		<updated>2006-12-31T03:47:38Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* ViewMode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|Start X}}&lt;br /&gt;
{{hl1msg|coord|Start Y}}&lt;br /&gt;
{{hl1msg|coord|Start Z}}&lt;br /&gt;
{{hl1msg|coord|Velocity X?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Y?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Z?}}&lt;br /&gt;
{{hl1msg|coord|Unknown X}}&lt;br /&gt;
{{hl1msg|coord|Unknown Y}}&lt;br /&gt;
{{hl1msg|coord|Unknown Z}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
Called whenever mp_forcecam or mp_forcechasecam are changed, with their new values passed. There is assumedly a third cvar that this tracks, but it is yet unknown. Note that this message doesn't actually change any of the spectating rules for the client.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Even if mp_forcechasecam is set to 2, it is sent by this message as 1.}}&lt;br /&gt;
{{begin-hl1msg|ForceCam|byte,byte,byte}}&lt;br /&gt;
{{hl1msg|byte|forcecamValue}}&lt;br /&gt;
{{hl1msg|byte|forcechasecamValue}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event (HLSDK says this switches to first-person view, but it doesn't seem to function as so)}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3686</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3686"/>
		<updated>2006-12-31T03:37:15Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* ForceCam */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|Start X}}&lt;br /&gt;
{{hl1msg|coord|Start Y}}&lt;br /&gt;
{{hl1msg|coord|Start Z}}&lt;br /&gt;
{{hl1msg|coord|Velocity X?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Y?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Z?}}&lt;br /&gt;
{{hl1msg|coord|Unknown X}}&lt;br /&gt;
{{hl1msg|coord|Unknown Y}}&lt;br /&gt;
{{hl1msg|coord|Unknown Z}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
Called whenever mp_forcecam or mp_forcechasecam are changed, with their new values passed. There is assumedly a third cvar that this tracks, but it is yet unknown. Note that this message doesn't actually change any of the spectating rules for the client.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Even if mp_forcechasecam is set to 2, it is sent by this message as 1.}}&lt;br /&gt;
{{begin-hl1msg|ForceCam|byte,byte,byte}}&lt;br /&gt;
{{hl1msg|byte|forcecamValue}}&lt;br /&gt;
{{hl1msg|byte|forcechasecamValue}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
Switches to first-person view.&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3685</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3685"/>
		<updated>2006-12-31T03:36:56Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* ForceCam */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|Start X}}&lt;br /&gt;
{{hl1msg|coord|Start Y}}&lt;br /&gt;
{{hl1msg|coord|Start Z}}&lt;br /&gt;
{{hl1msg|coord|Velocity X?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Y?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Z?}}&lt;br /&gt;
{{hl1msg|coord|Unknown X}}&lt;br /&gt;
{{hl1msg|coord|Unknown Y}}&lt;br /&gt;
{{hl1msg|coord|Unknown Z}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
Called whenever mp_forcecam or mp_forcechasecam are changed, with their new values passed. There is assumedly a third cvar that this tracks, but it is yet unknown. Note that this message doesn't actually change any of the spectating rules for the client.&lt;br /&gt;
{{qnotice|Even if mp_forcechasecam is set to 2, it is sent by this message as 1.}}&lt;br /&gt;
{{begin-hl1msg|ForceCam|byte,byte,byte}}&lt;br /&gt;
{{hl1msg|byte|forcecamValue}}&lt;br /&gt;
{{hl1msg|byte|forcechasecamValue}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
Switches to first-person view.&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3684</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3684"/>
		<updated>2006-12-31T03:36:08Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* ForceCam */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|Start X}}&lt;br /&gt;
{{hl1msg|coord|Start Y}}&lt;br /&gt;
{{hl1msg|coord|Start Z}}&lt;br /&gt;
{{hl1msg|coord|Velocity X?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Y?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Z?}}&lt;br /&gt;
{{hl1msg|coord|Unknown X}}&lt;br /&gt;
{{hl1msg|coord|Unknown Y}}&lt;br /&gt;
{{hl1msg|coord|Unknown Z}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
Called whenever mp_forcecam or mp_forcechasecam are changed, with their new values passed. There is assumedly a third cvar that this tracks, but it is yet unknown. Note that this message doesn't actually change any of the spectating rules for the client.&lt;br /&gt;
{{begin-hl1msg|ForceCam|byte,byte,byte}}&lt;br /&gt;
{{hl1msg|byte|forcecamValue}}&lt;br /&gt;
{{hl1msg|byte|forcechasecamValue}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
Switches to first-person view.&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3683</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3683"/>
		<updated>2006-12-31T03:16:31Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* Brass */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
Creates a brass shell. Used, for example, by the AWP, after firing.&lt;br /&gt;
{{begin-hl1msg|Brass|byte, coord, coord, coord, coord, coord, coord, coord, coord, coord, angle, short, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|coord|Start X}}&lt;br /&gt;
{{hl1msg|coord|Start Y}}&lt;br /&gt;
{{hl1msg|coord|Start Z}}&lt;br /&gt;
{{hl1msg|coord|Velocity X?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Y?}}&lt;br /&gt;
{{hl1msg|coord|Velocity Z?}}&lt;br /&gt;
{{hl1msg|coord|Unknown X}}&lt;br /&gt;
{{hl1msg|coord|Unknown Y}}&lt;br /&gt;
{{hl1msg|coord|Unknown Z}}&lt;br /&gt;
{{hl1msg|angle|Life?}}&lt;br /&gt;
{{hl1msg|short|Model?}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{hl1msg|byte|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
Switches to first-person view.&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3682</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3682"/>
		<updated>2006-12-31T03:09:32Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* BotProgress */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
Used by CZ's bots when learning a new map. Displays a progress bar in the middle of the screen, with some header text. The bar doesn't move, and you can't do anything while the bar is displayed. This is a different style of progress bar than from the BarTime event. This really doesn't display well in CS.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag can be 0 (update bar), 1 (create new bar), or 2 (remove bar). When using flag 0, send all arguments. When using flag 1, send only Flag and Header. When using flag 2, send only Flag.}}&lt;br /&gt;
{{begin-hl1msg|BotProgress|byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|Progress}}&lt;br /&gt;
{{hl1msg|string|Header}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
Switches to first-person view.&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=CZCareerHUD&amp;diff=3681</id>
		<title>CZCareerHUD</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=CZCareerHUD&amp;diff=3681"/>
		<updated>2006-12-31T03:04:59Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* CZCareerHUD Event */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= CZCareerHUD Event =&lt;br /&gt;
This event displays certain HUD elements regarding Condition Zero singleplayer missions. Here is its basic layout:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The Parameters will change depending on what type you use. Below are the Parameters for the known valid types. Assume that the Type for each one of them is the same as the header for that section.&lt;br /&gt;
&lt;br /&gt;
==ROUND==&lt;br /&gt;
Sent at the end of a round, displays the round results billboard (ie: &amp;quot;Your Team has Won this Round...&amp;quot;).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Round Result can be 0 (draw), 1 (your team won), or 2 (your team lost). The billboard header and sound played change depending on this. If Round Result is not 0, 1, or 2, it is assumed a draw.}}&lt;br /&gt;
{{begin-hl1msg|ROUND|long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|long|CT Wins}}&lt;br /&gt;
{{hl1msg|long|T Wins}}&lt;br /&gt;
{{hl1msg|byte|Wins Required}}&lt;br /&gt;
{{hl1msg|byte|Lead Required}}&lt;br /&gt;
{{hl1msg|byte|Round Result}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|string|ROUND}}&lt;br /&gt;
{{hl1msg|long|5}}&lt;br /&gt;
{{hl1msg|long|6}}&lt;br /&gt;
{{hl1msg|byte|3}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{hl1msg|byte|0}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==MATCH==&lt;br /&gt;
Sent at the end of a mission, after it is finished, and after [[CZCareer]]'s MATCH. Displays the match results billboard (ie: &amp;quot;Your Team is Victorious!&amp;quot;).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Wins/Leads Required is used, based on the CT/T Wins, to decide if your team won or lost. The purpose of having the Round Result is unknown.}}&lt;br /&gt;
{{begin-hl1msg|MATCH|long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|long|CT Wins}}&lt;br /&gt;
{{hl1msg|long|T Wins}}&lt;br /&gt;
{{hl1msg|byte|Wins Required}}&lt;br /&gt;
{{hl1msg|byte|Lead Required}}&lt;br /&gt;
{{hl1msg|byte|Round Result?}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|string|MATCH}}&lt;br /&gt;
{{hl1msg|long|7}}&lt;br /&gt;
{{hl1msg|long|5}}&lt;br /&gt;
{{hl1msg|byte|3}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{hl1msg|byte|1}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3680</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3680"/>
		<updated>2006-12-31T03:04:41Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* CZCareerHUD */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer (albeit better in CZ).}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
Switches to first-person view.&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Talk:Half-Life_1_Game_Events&amp;diff=3679</id>
		<title>Talk:Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Talk:Half-Life_1_Game_Events&amp;diff=3679"/>
		<updated>2006-12-31T02:34:02Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: Purpose?&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
== Purpose? ==&lt;br /&gt;
&lt;br /&gt;
I'm a bit confused as to the purpose of this page. It's titled as Half-Life 1 Game Events, yet it's completey missing (as is not even listed as &amp;quot;No information available&amp;quot;) some HL1 event such as Geiger, but has an incredible amount of CS-specific events.&lt;br /&gt;
&lt;br /&gt;
Should this be broken up into base HL events and then CS-specific events?&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3678</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3678"/>
		<updated>2006-12-31T01:53:43Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* AllowSpec */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
Changes whether or not &amp;quot;SPECTATE&amp;quot; appears on the change team menu. Called whenever the allow_spectators cvar is changed, with its new value sent as the byte.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This changes how the change team menu appears, but spectating functionality is based off of the actual cvar value.}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|Allowed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
Switches to first-person view.&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3677</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3677"/>
		<updated>2006-12-31T01:47:33Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* BuyClose */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; it's only called when the game forces him to do so (ie: he walks outside of the buy zone, gets killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
Switches to first-person view.&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3676</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3676"/>
		<updated>2006-12-31T01:46:51Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* BuyClose */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself; only when the game forces them to do so (they walk outside of the buy zone, get killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
Switches to first-person view.&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3675</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3675"/>
		<updated>2006-12-31T01:46:37Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* BuyClose */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
Forces the buy menu to close. This is not called when the player closes the buy menu by himself,; only when the game forces them to do so (they walk outside of the buy zone, get killed, etcetera).&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
Switches to first-person view.&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3674</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3674"/>
		<updated>2006-12-31T01:44:44Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* BotVoice */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
Displays (or hides) the voice icon above a user's head and the talking icon on the right side of the screen. This is called by CZ for bots; it's not called by regular players, although you &amp;lt;i&amp;gt;can&amp;lt;/i&amp;gt; specify a regular player (non-bot) for the playerIndex. Status is 1 for talking, or 0 for not talking.&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|byte|playerIndex}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
Switches to first-person view.&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3673</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3673"/>
		<updated>2006-12-31T00:21:03Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* Train */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (slow speed), 4 (medium speed), 5 (maximum speed)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
Switches to first-person view.&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3672</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3672"/>
		<updated>2006-12-31T00:20:39Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* Train */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
Displays the speed bar used for controlling a train.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Speed is as follows: 0 (disable display), 1 (reverse), 2 (neutral), 3 (forward light), 4 (forward medium), 5 (forward max)}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|Speed}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
Switches to first-person view.&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3671</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3671"/>
		<updated>2006-12-31T00:16:26Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* ViewMode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
Switches to first-person view.&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3670</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3670"/>
		<updated>2006-12-31T00:14:05Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* VoiceMask */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
Used to tell a client who he can hear over the microphone.&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|AudiblePlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|ServerBannedPlayersIndexBitSum}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3669</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3669"/>
		<updated>2006-12-31T00:12:05Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* ShowMenu */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu (in fact, this is how AMXX shows a menu).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|PlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3668</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3668"/>
		<updated>2006-12-31T00:11:14Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ShowMenu ==&lt;br /&gt;
Displays a &amp;quot;menu&amp;quot; to a player (text on the left side of the screen). Acts like AMXX's show_menu.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Multipart should be 1 if your menu takes up multiple messages (ie: string is too big to fit into one). On the final message, Multipart should be 0.}}&lt;br /&gt;
{{begin-hl1msg|ShowMenu|short,char,byte,string}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|Time}}&lt;br /&gt;
{{hl1msg|byte|Multipart}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|PlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3667</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3667"/>
		<updated>2006-12-31T00:01:23Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* Damage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
Called when a player takes damage, to display the red locational indicators.&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|PlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3666</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3666"/>
		<updated>2006-12-30T22:37:40Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* CZCareerHUD */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|PlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=CZCareerHUD&amp;diff=3665</id>
		<title>CZCareerHUD</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=CZCareerHUD&amp;diff=3665"/>
		<updated>2006-12-30T22:37:16Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* CZCareerHUD Event */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= CZCareerHUD Event =&lt;br /&gt;
This event displays certain HUD elements regarding Condition Zero singleplayer missions. Here is its basic layout:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event has some limited functionality in CS and CZ multiplayer.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The Parameters will change depending on what type you use. Below are the Parameters for the known valid types. Assume that the Type for each one of them is the same as the header for that section.&lt;br /&gt;
&lt;br /&gt;
==ROUND==&lt;br /&gt;
Sent at the end of a round, displays the round results billboard (ie: &amp;quot;Your Team has Won this Round...&amp;quot;).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Round Result can be 0 (draw), 1 (your team won), or 2 (your team lost). The billboard header and sound played change depending on this. If Round Result is not 0, 1, or 2, it is assumed a draw.}}&lt;br /&gt;
{{begin-hl1msg|ROUND|long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|long|CT Wins}}&lt;br /&gt;
{{hl1msg|long|T Wins}}&lt;br /&gt;
{{hl1msg|byte|Wins Required}}&lt;br /&gt;
{{hl1msg|byte|Lead Required}}&lt;br /&gt;
{{hl1msg|byte|Round Result}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|string|ROUND}}&lt;br /&gt;
{{hl1msg|long|5}}&lt;br /&gt;
{{hl1msg|long|6}}&lt;br /&gt;
{{hl1msg|byte|3}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{hl1msg|byte|0}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==MATCH==&lt;br /&gt;
Sent at the end of a mission, after it is finished, and after [[CZCareer]]'s MATCH. Displays the match results billboard (ie: &amp;quot;Your Team is Victorious!&amp;quot;).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Wins/Leads Required is used, based on the CT/T Wins, to decide if your team won or lost. The purpose of having the Round Result is unknown.}}&lt;br /&gt;
{{begin-hl1msg|MATCH|long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|long|CT Wins}}&lt;br /&gt;
{{hl1msg|long|T Wins}}&lt;br /&gt;
{{hl1msg|byte|Wins Required}}&lt;br /&gt;
{{hl1msg|byte|Lead Required}}&lt;br /&gt;
{{hl1msg|byte|Round Result?}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|string|MATCH}}&lt;br /&gt;
{{hl1msg|long|7}}&lt;br /&gt;
{{hl1msg|long|5}}&lt;br /&gt;
{{hl1msg|byte|3}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{hl1msg|byte|1}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3664</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3664"/>
		<updated>2006-12-30T22:34:27Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* CZCareer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|PlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=CZCareer&amp;diff=3663</id>
		<title>CZCareer</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=CZCareer&amp;diff=3663"/>
		<updated>2006-12-30T22:33:52Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* CZCareer Event */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= CZCareer Event =&lt;br /&gt;
This event supplies certain updates to the player regarding Condition Zero singleplayer missions. Here is its basic layout:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever. Therefore, you can use this to make your own custom communications (you can send any number of arguments of any type after the first string).}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Type argument is case-sensitive.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event does nothing in CS and CZ multiplayer.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The Parameters will change depending on what type you use. Below are the Parameters for the known valid types. Assume that the Type for each one of them is the same as the header for that section.&lt;br /&gt;
&lt;br /&gt;
==START==&lt;br /&gt;
Sent at the start of a Condition Zero singleplayer mission. The exact purpose isn't known.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Unknown is always 300.}}&lt;br /&gt;
{{begin-hl1msg|START|short}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,short}}&lt;br /&gt;
{{hl1msg|string|START}}&lt;br /&gt;
{{hl1msg|short|300}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==GOGOGO==&lt;br /&gt;
Sent at the start of a new Condition Zero singleplayer round (as soon as players spawn, &amp;lt;i&amp;gt;not&amp;lt;/i&amp;gt; as soon as freezetime ends). The exact purpose isn't known.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Has no extra arguments.}}&lt;br /&gt;
{{begin-hl1msg|GOGOGO}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string}}&lt;br /&gt;
{{hl1msg|string|GOGOGO}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==TASKPART==&lt;br /&gt;
Used to update task progress. For example, on &amp;quot;kill X many enemy&amp;quot; tasks, Progress would be the amount of enemies killed so far.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The task will always appear as incomplete, regardless of Progress, until a TASKDONE is sent.}}&lt;br /&gt;
{{begin-hl1msg|TASKPART|byte,short}}&lt;br /&gt;
{{hl1msg|byte|Task}}&lt;br /&gt;
{{hl1msg|short|Progress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,byte,short}}&lt;br /&gt;
{{hl1msg|string|TASKPART}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{hl1msg|short|1}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==TASKDONE==&lt;br /&gt;
Used to mark the completion of a task. For example, changes INCOMPLETE on the scoreboard to COMPLETE.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|TASKDONE|byte}}&lt;br /&gt;
{{hl1msg|byte|Task}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,byte}}&lt;br /&gt;
{{hl1msg|string|TASKDONE}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==TASKUNDONE==&lt;br /&gt;
Used to &amp;lt;b&amp;gt;un&amp;lt;/b&amp;gt;mark the completion of a task. For example, changes COMPLETE on the scoreboard to INCOMPLETE.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|TASKUNDONE|byte}}&lt;br /&gt;
{{hl1msg|byte|Task}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,byte}}&lt;br /&gt;
{{hl1msg|string|TASKUNDONE}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==MATCH==&lt;br /&gt;
Sent at the end of a mission, after it is finished. Appears to save the game.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|MATCH|long,long}}&lt;br /&gt;
{{hl1msg|long|CT Wins}}&lt;br /&gt;
{{hl1msg|long|T Wins}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,long,long}}&lt;br /&gt;
{{hl1msg|string|MATCH}}&lt;br /&gt;
{{hl1msg|long|3}}&lt;br /&gt;
{{hl1msg|long|1}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=User:XxAvalanchexX&amp;diff=3662</id>
		<title>User:XxAvalanchexX</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=User:XxAvalanchexX&amp;diff=3662"/>
		<updated>2006-12-30T22:24:27Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;lives in a cardboard box.&lt;br /&gt;
&lt;br /&gt;
http://forums.alliedmods.net/member.php?u=2592&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=CZCareerHUD&amp;diff=3661</id>
		<title>CZCareerHUD</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=CZCareerHUD&amp;diff=3661"/>
		<updated>2006-12-30T22:22:30Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* ROUND */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= CZCareerHUD Event =&lt;br /&gt;
This event displays certain HUD elements regarding Condition Zero singleplayer missions. Here is its basic layout:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The types are case-sensitive.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The Parameters will change depending on what type you use. Below are the Parameters for the known valid types. Assume that the Type for each one of them is the same as the header for that section.&lt;br /&gt;
&lt;br /&gt;
==ROUND==&lt;br /&gt;
Sent at the end of a round, displays the round results billboard (ie: &amp;quot;Your Team has Won this Round...&amp;quot;).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Round Result can be 0 (draw), 1 (your team won), or 2 (your team lost). The billboard header and sound played change depending on this. If Round Result is not 0, 1, or 2, it is assumed a draw.}}&lt;br /&gt;
{{begin-hl1msg|ROUND|long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|long|CT Wins}}&lt;br /&gt;
{{hl1msg|long|T Wins}}&lt;br /&gt;
{{hl1msg|byte|Wins Required}}&lt;br /&gt;
{{hl1msg|byte|Lead Required}}&lt;br /&gt;
{{hl1msg|byte|Round Result}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|string|ROUND}}&lt;br /&gt;
{{hl1msg|long|5}}&lt;br /&gt;
{{hl1msg|long|6}}&lt;br /&gt;
{{hl1msg|byte|3}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{hl1msg|byte|0}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==MATCH==&lt;br /&gt;
Sent at the end of a mission, after it is finished, and after [[CZCareer]]'s MATCH. Displays the match results billboard (ie: &amp;quot;Your Team is Victorious!&amp;quot;).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Wins/Leads Required is used, based on the CT/T Wins, to decide if your team won or lost. The purpose of having the Round Result is unknown.}}&lt;br /&gt;
{{begin-hl1msg|MATCH|long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|long|CT Wins}}&lt;br /&gt;
{{hl1msg|long|T Wins}}&lt;br /&gt;
{{hl1msg|byte|Wins Required}}&lt;br /&gt;
{{hl1msg|byte|Lead Required}}&lt;br /&gt;
{{hl1msg|byte|Round Result?}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|string|MATCH}}&lt;br /&gt;
{{hl1msg|long|7}}&lt;br /&gt;
{{hl1msg|long|5}}&lt;br /&gt;
{{hl1msg|byte|3}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{hl1msg|byte|1}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=CZCareerHUD&amp;diff=3660</id>
		<title>CZCareerHUD</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=CZCareerHUD&amp;diff=3660"/>
		<updated>2006-12-30T22:22:09Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* ROUND */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= CZCareerHUD Event =&lt;br /&gt;
This event displays certain HUD elements regarding Condition Zero singleplayer missions. Here is its basic layout:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The types are case-sensitive.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The Parameters will change depending on what type you use. Below are the Parameters for the known valid types. Assume that the Type for each one of them is the same as the header for that section.&lt;br /&gt;
&lt;br /&gt;
==ROUND==&lt;br /&gt;
Sent at the end of a round, displays the round results billboard (ie: &amp;quot;Your Team has Won this Round...&amp;quot;).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Round Result can be 0 (draw), 1 (your team won), or 2 (your team lost). The billboard header and sound played change depending on this. If Round Result is not 0, 1, or 2, it is assumed a draw.}}&lt;br /&gt;
{{begin-hl1msg|ROUND|long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|long|CT Wins}}&lt;br /&gt;
{{hl1msg|long|T Wins}}&lt;br /&gt;
{{hl1msg|byte|Wins Required}}&lt;br /&gt;
{{hl1msg|byte|Lead Required}}&lt;br /&gt;
{{hl1msg|byte|Round Result}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|string|ROUND}}&lt;br /&gt;
{{hl1msg|long|5}}&lt;br /&gt;
{{hl1msg|long|7}}&lt;br /&gt;
{{hl1msg|byte|3}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{hl1msg|byte|0}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==MATCH==&lt;br /&gt;
Sent at the end of a mission, after it is finished, and after [[CZCareer]]'s MATCH. Displays the match results billboard (ie: &amp;quot;Your Team is Victorious!&amp;quot;).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Wins/Leads Required is used, based on the CT/T Wins, to decide if your team won or lost. The purpose of having the Round Result is unknown.}}&lt;br /&gt;
{{begin-hl1msg|MATCH|long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|long|CT Wins}}&lt;br /&gt;
{{hl1msg|long|T Wins}}&lt;br /&gt;
{{hl1msg|byte|Wins Required}}&lt;br /&gt;
{{hl1msg|byte|Lead Required}}&lt;br /&gt;
{{hl1msg|byte|Round Result?}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|string|MATCH}}&lt;br /&gt;
{{hl1msg|long|7}}&lt;br /&gt;
{{hl1msg|long|5}}&lt;br /&gt;
{{hl1msg|byte|3}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{hl1msg|byte|1}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=CZCareerHUD&amp;diff=3659</id>
		<title>CZCareerHUD</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=CZCareerHUD&amp;diff=3659"/>
		<updated>2006-12-30T22:21:39Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= CZCareerHUD Event =&lt;br /&gt;
This event displays certain HUD elements regarding Condition Zero singleplayer missions. Here is its basic layout:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The types are case-sensitive.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The Parameters will change depending on what type you use. Below are the Parameters for the known valid types. Assume that the Type for each one of them is the same as the header for that section.&lt;br /&gt;
&lt;br /&gt;
==ROUND==&lt;br /&gt;
Sent at the end of a round, displays the round results billboard (ie: &amp;quot;Your Team has Won this Round...&amp;quot;) that shows how the round went and what objectives are left.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Round Result can be 0 (draw), 1 (your team won), or 2 (your team lost). The billboard header and sound played change depending on this. If Round Result is not 0, 1, or 2, it is assumed a draw.}}&lt;br /&gt;
{{begin-hl1msg|ROUND|long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|long|CT Wins}}&lt;br /&gt;
{{hl1msg|long|T Wins}}&lt;br /&gt;
{{hl1msg|byte|Wins Required}}&lt;br /&gt;
{{hl1msg|byte|Lead Required}}&lt;br /&gt;
{{hl1msg|byte|Round Result}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|string|ROUND}}&lt;br /&gt;
{{hl1msg|long|5}}&lt;br /&gt;
{{hl1msg|long|7}}&lt;br /&gt;
{{hl1msg|byte|3}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{hl1msg|byte|0}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==MATCH==&lt;br /&gt;
Sent at the end of a mission, after it is finished, and after [[CZCareer]]'s MATCH. Displays the match results billboard (ie: &amp;quot;Your Team is Victorious!&amp;quot;).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Wins/Leads Required is used, based on the CT/T Wins, to decide if your team won or lost. The purpose of having the Round Result is unknown.}}&lt;br /&gt;
{{begin-hl1msg|MATCH|long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|long|CT Wins}}&lt;br /&gt;
{{hl1msg|long|T Wins}}&lt;br /&gt;
{{hl1msg|byte|Wins Required}}&lt;br /&gt;
{{hl1msg|byte|Lead Required}}&lt;br /&gt;
{{hl1msg|byte|Round Result?}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,long,long,byte,byte,byte}}&lt;br /&gt;
{{hl1msg|string|MATCH}}&lt;br /&gt;
{{hl1msg|long|7}}&lt;br /&gt;
{{hl1msg|long|5}}&lt;br /&gt;
{{hl1msg|byte|3}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{hl1msg|byte|1}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3658</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3658"/>
		<updated>2006-12-30T22:05:43Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* CZCareerHUD */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
Displays certain HUD elements regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareerHUD]] page for more information.}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|PlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=CZCareer&amp;diff=3657</id>
		<title>CZCareer</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=CZCareer&amp;diff=3657"/>
		<updated>2006-12-30T22:03:33Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* GOGOGO */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= CZCareer Event =&lt;br /&gt;
This event supplies certain updates to the player regarding Condition Zero singleplayer missions. Here is its basic layout:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The types are case-sensitive.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The Parameters will change depending on what type you use. Below are the Parameters for the known valid types. Assume that the Type for each one of them is the same as the header for that section.&lt;br /&gt;
&lt;br /&gt;
==START==&lt;br /&gt;
Sent at the start of a Condition Zero singleplayer mission. The exact purpose isn't known.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Unknown is always 300.}}&lt;br /&gt;
{{begin-hl1msg|START|short}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,short}}&lt;br /&gt;
{{hl1msg|string|START}}&lt;br /&gt;
{{hl1msg|short|300}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==GOGOGO==&lt;br /&gt;
Sent at the start of a new Condition Zero singleplayer round (as soon as players spawn, &amp;lt;i&amp;gt;not&amp;lt;/i&amp;gt; as soon as freezetime ends). The exact purpose isn't known.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Has no extra arguments.}}&lt;br /&gt;
{{begin-hl1msg|GOGOGO}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string}}&lt;br /&gt;
{{hl1msg|string|GOGOGO}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==TASKPART==&lt;br /&gt;
Used to update task progress. For example, on &amp;quot;kill X many enemy&amp;quot; tasks, Progress would be the amount of enemies killed so far.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The task will always appear as incomplete, regardless of Progress, until a TASKDONE is sent.}}&lt;br /&gt;
{{begin-hl1msg|TASKPART|byte,short}}&lt;br /&gt;
{{hl1msg|byte|Task}}&lt;br /&gt;
{{hl1msg|short|Progress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,byte,short}}&lt;br /&gt;
{{hl1msg|string|TASKPART}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{hl1msg|short|1}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==TASKDONE==&lt;br /&gt;
Used to mark the completion of a task. For example, changes INCOMPLETE on the scoreboard to COMPLETE.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|TASKDONE|byte}}&lt;br /&gt;
{{hl1msg|byte|Task}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,byte}}&lt;br /&gt;
{{hl1msg|string|TASKDONE}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==TASKUNDONE==&lt;br /&gt;
Used to &amp;lt;b&amp;gt;un&amp;lt;/b&amp;gt;mark the completion of a task. For example, changes COMPLETE on the scoreboard to INCOMPLETE.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|TASKUNDONE|byte}}&lt;br /&gt;
{{hl1msg|byte|Task}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,byte}}&lt;br /&gt;
{{hl1msg|string|TASKUNDONE}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==MATCH==&lt;br /&gt;
Sent at the end of a mission, after it is finished. Appears to save the game.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|MATCH|long,long}}&lt;br /&gt;
{{hl1msg|long|CT Wins}}&lt;br /&gt;
{{hl1msg|long|T Wins}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,long,long}}&lt;br /&gt;
{{hl1msg|string|MATCH}}&lt;br /&gt;
{{hl1msg|long|3}}&lt;br /&gt;
{{hl1msg|long|1}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=CZCareer&amp;diff=3656</id>
		<title>CZCareer</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=CZCareer&amp;diff=3656"/>
		<updated>2006-12-30T22:02:18Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= CZCareer Event =&lt;br /&gt;
This event supplies certain updates to the player regarding Condition Zero singleplayer missions. Here is its basic layout:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The types are case-sensitive.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The Parameters will change depending on what type you use. Below are the Parameters for the known valid types. Assume that the Type for each one of them is the same as the header for that section.&lt;br /&gt;
&lt;br /&gt;
==START==&lt;br /&gt;
Sent at the start of a Condition Zero singleplayer mission. The exact purpose isn't known.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Unknown is always 300.}}&lt;br /&gt;
{{begin-hl1msg|START|short}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,short}}&lt;br /&gt;
{{hl1msg|string|START}}&lt;br /&gt;
{{hl1msg|short|300}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==GOGOGO==&lt;br /&gt;
Sent at the start of a new Condition Zero singleplayer round. The exact purpose isn't known.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Has no extra arguments.}}&lt;br /&gt;
{{begin-hl1msg|GOGOGO}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string}}&lt;br /&gt;
{{hl1msg|string|GOGOGO}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==TASKPART==&lt;br /&gt;
Used to update task progress. For example, on &amp;quot;kill X many enemy&amp;quot; tasks, Progress would be the amount of enemies killed so far.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The task will always appear as incomplete, regardless of Progress, until a TASKDONE is sent.}}&lt;br /&gt;
{{begin-hl1msg|TASKPART|byte,short}}&lt;br /&gt;
{{hl1msg|byte|Task}}&lt;br /&gt;
{{hl1msg|short|Progress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,byte,short}}&lt;br /&gt;
{{hl1msg|string|TASKPART}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{hl1msg|short|1}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==TASKDONE==&lt;br /&gt;
Used to mark the completion of a task. For example, changes INCOMPLETE on the scoreboard to COMPLETE.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|TASKDONE|byte}}&lt;br /&gt;
{{hl1msg|byte|Task}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,byte}}&lt;br /&gt;
{{hl1msg|string|TASKDONE}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==TASKUNDONE==&lt;br /&gt;
Used to &amp;lt;b&amp;gt;un&amp;lt;/b&amp;gt;mark the completion of a task. For example, changes COMPLETE on the scoreboard to INCOMPLETE.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|TASKUNDONE|byte}}&lt;br /&gt;
{{hl1msg|byte|Task}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,byte}}&lt;br /&gt;
{{hl1msg|string|TASKUNDONE}}&lt;br /&gt;
{{hl1msg|byte|2}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
==MATCH==&lt;br /&gt;
Sent at the end of a mission, after it is finished. Appears to save the game.&amp;lt;br&amp;gt;&lt;br /&gt;
{{begin-hl1msg|MATCH|long,long}}&lt;br /&gt;
{{hl1msg|long|CT Wins}}&lt;br /&gt;
{{hl1msg|long|T Wins}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example usage:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,long,long}}&lt;br /&gt;
{{hl1msg|string|MATCH}}&lt;br /&gt;
{{hl1msg|long|3}}&lt;br /&gt;
{{hl1msg|long|1}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3655</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3655"/>
		<updated>2006-12-30T21:48:43Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* CZCareer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
Supplies certain updates to the player regarding Condition Zero singleplayer missions.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|See the [[CZCareer]] page for more information.}}&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|PlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=CZCareer&amp;diff=3654</id>
		<title>CZCareer</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=CZCareer&amp;diff=3654"/>
		<updated>2006-12-30T21:48:39Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= CZCareer Event =&lt;br /&gt;
This event supplies certain updates to the player regarding Condition Zero singleplayer missions. Here is its basic layout:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,*}}&lt;br /&gt;
{{hl1msg|string|Type}}&lt;br /&gt;
{{hl1msg|*|Parameters}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
{{qnotice|Using an invalid type has no repercussions whatsoever.}}&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The types are case-sensitive.}}&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
The Parameters will change depending on what type you use. Below are the Parameters for the known valid types. Assume that the Type for each one of them is the same as the header for that section.&lt;br /&gt;
&lt;br /&gt;
==START==&lt;br /&gt;
Sent at the start of a Condition Zero singleplayer mission. The exact purpose isn't known.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Unknown is always 300.}}&lt;br /&gt;
{{begin-hl1msg|START|short}}&lt;br /&gt;
{{hl1msg|short|Unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
Example:&lt;br /&gt;
{{begin-hl1msg|CZCareer|string,short}}&lt;br /&gt;
{{hl1msg|string|START}}&lt;br /&gt;
{{hl1msg|short|300}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
ADDING MORE LATER&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3653</id>
		<title>Half-Life 1 Game Events</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=Half-Life_1_Game_Events&amp;diff=3653"/>
		<updated>2006-12-30T21:26:11Z</updated>

		<summary type="html">&lt;p&gt;XxAvalanchexX: /* TaskTime */ added details&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Half-Life 1]]&lt;br /&gt;
[[Category:Scripting (AMX Mod X)]]&lt;br /&gt;
= Half-Life Events =&lt;br /&gt;
In [[Pawn]] you are able to hook in-game events with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=26 register_event]. Here are the list of the standard Half-Life 1 and Counter-Strike events and their parameters which can be read with [http://www.amxmodx.org/funcwiki.php?go=func&amp;amp;id=132 read_data]&lt;br /&gt;
&lt;br /&gt;
See the [[Advanced Scripting (AMX Mod X)#Events.2FMessages|Advanced Scripting]] article for more on events and messages.&lt;br /&gt;
&lt;br /&gt;
== ADStop ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ADStop}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AllowSpec ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|AllowSpec|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoPickup ==&lt;br /&gt;
Temporarily draws [[HUD]] the ammo amount and ammo type [[HUD]] icon in the middle of the right side of the screen.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Draw time is dependent on the ''hud_drawhistory_time'' client CVAR value}}&lt;br /&gt;
{{begin-hl1msg|AmmoPickup|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== AmmoX ==&lt;br /&gt;
Updates green bar indicator in the [[HUD]] weapons-list. Also updates [[HUD]] backpack ammo number in the lower right corner of the screen in case the given ammo type are compatible with the current weapon.&lt;br /&gt;
{{begin-hl1msg|AmmoX|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|AmmoID}}&lt;br /&gt;
{{hl1msg|byte|Ammount}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime ==&lt;br /&gt;
Draws a [[HUD]] progress bar which is filled from 0% to 100% for the time Duration seconds and then disappeared.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Set Duration to 0 to hide the bar.}}&lt;br /&gt;
{{begin-hl1msg|BarTime|short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BarTime2 ==&lt;br /&gt;
The same as BarTime but StartPC is specify how many per cents of the bar are (already) filled.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Display time can be calculated with this formula: ''(1 - StartPC/100) / Duration''}}&lt;br /&gt;
{{begin-hl1msg|BarTime2|short, short}}&lt;br /&gt;
{{hl1msg|short|Duration}}&lt;br /&gt;
{{hl1msg|short|StartPC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Battery ==&lt;br /&gt;
Updates the icon and number of the armor on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|Battery|short}}&lt;br /&gt;
{{hl1msg|short|Armor}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BlinkAcct ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BlinkAcct}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombDrop ==&lt;br /&gt;
The first three arguments are the origin of the dropped bomb. The last argument is set to 1 if the bomb has been planted. It is 0 if the bomb was dropped due to voluntary dropping or death/disconnect. Setting the last argument 1, will also trigger the round timer to hide. It also will show the dropped bomb on the Terrorist team's radar in the location specified by the first three arguments.&lt;br /&gt;
{{begin-hl1msg|BombDrop|coord, coord, coord, byte}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BombPickup ==&lt;br /&gt;
This message just tells the game that the bomb has been picked up. It will cause the dropped/planted bomb to disappear from the Terrorist team's radar. &lt;br /&gt;
{{begin-hl1msg|BombPickup}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotProgress ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotProgress}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BotVoice ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BotVoice|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Brass ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Brass}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== BuyClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|BuyClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ClCorpse ==&lt;br /&gt;
Spawns a player's corpse. Model is the player's model, for example: &amp;quot;leet&amp;quot;. Delay is the delay before animation plaback, can be negative value.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|The Origin and Delay is in non-standard format.}}&lt;br /&gt;
{{begin-hl1msg|ClCorpse|string, long, long, long, coord, coord, coord, long, byte, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|string|Model}}&lt;br /&gt;
{{hl1msg|long|OriginX}}&lt;br /&gt;
{{hl1msg|long|OriginY}}&lt;br /&gt;
{{hl1msg|long|OriginZ}}&lt;br /&gt;
{{hl1msg|coord|AngleX}}&lt;br /&gt;
{{hl1msg|coord|AngleY}}&lt;br /&gt;
{{hl1msg|coord|AngleZ}}&lt;br /&gt;
{{hl1msg|long|Delay}}&lt;br /&gt;
{{hl1msg|byte|Sequence}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|TeamID}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Crosshair ==&lt;br /&gt;
Draws/removes the crosshair. If Flag is set to 1 the crosshair will be drawn.&lt;br /&gt;
{{begin-hl1msg|Crosshair|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CurWeapon ==&lt;br /&gt;
Updates the clip ammo number and weapon's corresponding ammo type icon on the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|CurWeapon|byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|isActive}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{hl1msg|byte|ClipAmmo}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareer ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|CZCareer}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== CZCareerHUD ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|CZCareerHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Damage == &lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Damage|byte, byte, long, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|Damage save (armor)}}&lt;br /&gt;
{{hl1msg|byte|Damage take (health)}}&lt;br /&gt;
{{hl1msg|long|Damage type}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== DeathMsg ==&lt;br /&gt;
Fired to all players (MSG_ALL or MSG_BROADCAST) to notify them of a death. This generates the [[HUD]] message the client sees in the upper right corner of their screen.&amp;lt;br&amp;gt;&lt;br /&gt;
Also prints the console text message &amp;quot;KillerName killed VictimName with WeaponName&amp;quot; or &amp;quot;*** KillerName killed VictimName with a headshot from WeaponName ***&amp;quot;&lt;br /&gt;
{{begin-hl1msg|DeathMsg|byte, byte, byte, string}}&lt;br /&gt;
{{hl1msg|byte|KillerID}}&lt;br /&gt;
{{hl1msg|byte|VictimID}}&lt;br /&gt;
{{hl1msg|byte|isHeadshot}}&lt;br /&gt;
{{hl1msg|string|WeaponName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== FlashBat ==&lt;br /&gt;
Updates the flashlight battery charge on the [[HUD]]. ChargePC is in per cents.&lt;br /&gt;
{{begin-hl1msg|FlashBat|byte}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Flashlight ==&lt;br /&gt;
Updates the flashlight state and battery charge on the [[HUD]]. If Flag is set to 1 the flashlight [[HUD]] icon will be shown as active.&lt;br /&gt;
{{begin-hl1msg|Flashlight|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|byte|ChargePC}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Fog ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Fog}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ForceCam ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ForceCam}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostageK ==&lt;br /&gt;
Temporary draws a blinking red dot on the CT players' radar when hostage is killed.&lt;br /&gt;
{{begin-hl1msg|HostageK|byte}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== HostagePos ==&lt;br /&gt;
Draws/updates the blue mark on the CT players' radar which represents the corresponding hostage's position.&lt;br /&gt;
{{begin-hl1msg|HostagePos|byte, byte, coord, coord, coord}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|byte|HostageID}}&lt;br /&gt;
{{hl1msg|coord|X}}&lt;br /&gt;
{{hl1msg|coord|Y}}&lt;br /&gt;
{{hl1msg|coord|Z}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Money ==&lt;br /&gt;
Updates the Amount of money on the [[HUD]]. If the Flag is 1, the additional new-old [[HUD]] money amount difference will be also displayed.&lt;br /&gt;
{{begin-hl1msg|Money|long, byte}}&lt;br /&gt;
{{hl1msg|long|Amount}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== NVGToggle ==&lt;br /&gt;
Toggles night vision mode. For Flag: 1 is on, 0 is off.&lt;br /&gt;
{{begin-hl1msg|NVGToggle|byte}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ResetHUD ==&lt;br /&gt;
Resets the [[HUD]].&lt;br /&gt;
{{begin-hl1msg|ResetHUD}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== RoundTime ==&lt;br /&gt;
Updates the round timer on the [[HUD]]. Time is in seconds.&lt;br /&gt;
{{begin-hl1msg|RoundTime|short}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== SayText ==&lt;br /&gt;
Prints say [[HUD]] text. Second parameter can be a predefined string or a custom one. In the last case the last two parameters isn't required.&amp;lt;br&amp;gt;&lt;br /&gt;
Some values of the predifined string: #Cstrike_Chat_AllDead, #Cstrike_Chat_All&lt;br /&gt;
{{begin-hl1msg|SayText|byte, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|SenderID}}&lt;br /&gt;
{{hl1msg|string|String}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Scenario ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Scenario|byte}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ScoreAttrib ==&lt;br /&gt;
Updates the scoreboard's attribute for the specified player. For the 2nd argument, 0 is nothing, 1 is dead, 2 is bomb, 4 is VIP.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Flag is a bitwise value so if VIP player dying with the bomb the Flag will be 7}}&lt;br /&gt;
{{begin-hl1msg|ScoreAttrib|byte, byte}}&lt;br /&gt;
{{hl1msg|byte|PlayerID}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusIcon ==&lt;br /&gt;
Draws/removes the specified status [[HUD]] icon. For Status, 0 is Hide Icon, 1 is Show Icon, 2 is Flash Icon. Red, Green and Blue arguments is optional and is specified only when Status are not 0.&lt;br /&gt;
{{begin-hl1msg|StatusIcon|byte, string, byte, byte, byte}}&lt;br /&gt;
{{hl1msg|byte|Status}}&lt;br /&gt;
{{hl1msg|string|SpriteName}}&lt;br /&gt;
{{hl1msg|byte|Red}}&lt;br /&gt;
{{hl1msg|byte|Green}}&lt;br /&gt;
{{hl1msg|byte|Blue}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusText ==&lt;br /&gt;
Specifies the status text format.&lt;br /&gt;
{{begin-hl1msg|StatusText|byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|Text}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== StatusValue ==&lt;br /&gt;
Sends/updates the status values. For the Flag 1 the Value is TeamRelation, for 2 is PlayerID, for 3 is Health. For TeamRelation, 1 is Teammate player, 2 is Non-Teammate player, 3 is Hostage. If TeamRelation is the Hostage, PlayerID will be always 0.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Usually is fired as a triple message, for example:&amp;lt;br&amp;gt;&lt;br /&gt;
  (1, 2) - non-teammate player&amp;lt;br&amp;gt;&lt;br /&gt;
  (2, 7) - player index is 7&amp;lt;br&amp;gt;&lt;br /&gt;
  (3, 59) - health is 59}}&lt;br /&gt;
{{begin-hl1msg|StatusValue|byte, short}}&lt;br /&gt;
{{hl1msg|byte|Flag}}&lt;br /&gt;
{{hl1msg|short|Value}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TaskTime ==&lt;br /&gt;
Displays a secondary timer above the round timer. Used for Condition Zero singleplayer missions.&amp;lt;br&amp;gt;If Time is -1, timer dissappears. If Time is any other negative value, it is displayed as green instead of yellow, and considered positive.&amp;lt;br&amp;gt;If Active is true, timer counts down. Otherwise, it is paused.&amp;lt;br&amp;gt;If Fade is above zero, the timer will slowly fade out after that many seconds have passed (even if the timer is inactive).&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|This event can only be used on missions that have an objective requiring a secondary timer!}}&lt;br /&gt;
{{begin-hl1msg|TaskTime|short, byte, byte}}&lt;br /&gt;
{{hl1msg|short|Time}}&lt;br /&gt;
{{hl1msg|byte|Active}}&lt;br /&gt;
{{hl1msg|byte|Fade}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamInfo ==&lt;br /&gt;
TeamName is either &amp;quot;UNASSIGNED&amp;quot;, &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamInfo|byte, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TeamScore ==&lt;br /&gt;
Updates the team score on the score board. TeamName is either &amp;quot;TERRORIST&amp;quot; or &amp;quot;CT&amp;quot;.&lt;br /&gt;
{{begin-hl1msg|TeamScore|string, short}}&lt;br /&gt;
{{hl1msg|string|TeamName}}&lt;br /&gt;
{{hl1msg|short|Score}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TextMsg ==&lt;br /&gt;
{{qnotice|There does not necessarily have to be a total of 6 arguments, there could be as little as 2. For example you can send a message with the following:&amp;lt;br&amp;gt;&lt;br /&gt;
Arg1: 1&amp;lt;br&amp;gt;&lt;br /&gt;
Arg2: #Game_join_ct&amp;lt;br&amp;gt;&lt;br /&gt;
Arg3: 4HM | Pimp Daddy&amp;lt;br&amp;gt;}}&lt;br /&gt;
{{begin-hl1msg|TextMsg|byte, string, string, string, string, string}}&lt;br /&gt;
{{hl1msg|byte|ID}}&lt;br /&gt;
{{hl1msg|string|Message}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{hl1msg|string|Submsg}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== Train ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|Train}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorClose ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorClose}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorLine ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorLine}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorState ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorState}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== TutorText ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|TutorText}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VGUIMenu ==&lt;br /&gt;
Displays a predefined VGUI menu. Keys is a keys bit sum.&lt;br /&gt;
{{begin-hl1msg|VGUIMenu|byte, short, char, byte, string}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|short|Keys}}&lt;br /&gt;
{{hl1msg|char|unknown}}&lt;br /&gt;
{{hl1msg|byte|unknown}}&lt;br /&gt;
{{hl1msg|string|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== ViewMode ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|ViewMode}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== VoiceMask ==&lt;br /&gt;
{{qnotice|No Information available for this event}}&lt;br /&gt;
{{begin-hl1msg|VoiceMask|long, long}}&lt;br /&gt;
{{hl1msg|long|PlayersIndexBitSum}}&lt;br /&gt;
{{hl1msg|long|unknown}}&lt;br /&gt;
{{end-hl1msg}}&lt;br /&gt;
&lt;br /&gt;
== WeapPickup ==&lt;br /&gt;
Fired right before weapon is picked up.&amp;lt;br&amp;gt;&lt;br /&gt;
{{qnotice|Notice: &amp;quot;right before&amp;quot;.}}&lt;br /&gt;
{{begin-hl1msg|WeapPickup|byte}}&lt;br /&gt;
{{hl1msg|byte|WeaponID}}&lt;br /&gt;
{{end-hl1msg}}&lt;/div&gt;</summary>
		<author><name>XxAvalanchexX</name></author>
		
	</entry>
</feed>