Stocks for Half-Life DM (valve)
* AMX mod X functions for Half-Life
* Version 1.1 (last update: 29.07.2010)
* http://hl.levshi.ru/forum/ - Russian Half-Life and Adrenaline Gamer Community
/* Returns player deaths.
/* Sets player deaths.
/* Get amount of ammo in backpack on a user for a specific weapon.
* Look in hlsdk_const.inc for weapon types: HLW_*.
* Weapons on the same line uses the same ammo type:
* mp5, glock
* gauss, egon
/* Restock/remove ammo in a user's backpack.
hl_set_user_bpammo(client, weapon, ammo)
/* Get user model.
hl_get_user_model(client, model, len)
/* Set user model.
hl_set_user_model(client, const model)
/* Returns health value.
/* Sets player health.
/* Returns armor value.
/* Sets player armor.
/* Returns team id. When length is greater then 0 then a name of team is set.
hl_get_user_team(client, team = "", len = 0)
/* Set player team by teamname.
hl_set_user_team(client, const team)
/* Returns entity index of active weapon.
/* Returns amount of ammo in weapon's clip.
/* Set amount of ammo in weapon's clip.
/* Get weapon type. Corresponds to HLW_* in hlsdk_const.inc: 1 is HLW_CROWBAR, 2 is HLW_GLOCK and so on...
/* Returns weapon entity index from weaponbox.
/* Returns amount of ammo in weaponbox.
/* Set amount of ammo in weaponbox.
/* Spawns a Half-Life player.
/* Strips all weapons from player.
/* Check if player in spectator mode.
/* Switch player to spectator mode.
hl_set_user_spectator(client, bool:spectator = true)
/* Check if player have longjump module.
/* Set longjump module to player.
hl_set_user_longjump(client, bool:longjump = true, bool:tempicon = true)