Инфо из ham_const.inc:
/**
* Description: Whether or not the entity is a player.
* Forward params: function(this);
* Return type: Integer (boolean) .
* Execute params: ExecuteHam(Ham_IsPlayer, this);
*/
« Ноябрь 2024 » | ||||||
---|---|---|---|---|---|---|
Пн | Вт | Ср | Чт | Пт | Сб | Вс |
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 |
/**
* Description: Whether or not the entity is a player.
* Forward params: function(this);
* Return type: Integer (boolean) .
* Execute params: ExecuteHam(Ham_IsPlayer, this);
*/
/**
* Description: Gives ammo to the entity.
* This function is not supported for the following mods:
* Earth's Special Forces.
* Sven-Coop 4.8+, see Ham_SC_GiveAmmo instead.
* Team Fortress Classic, see Ham_TFC_GiveAmmo instead.
* Forward params: function(this, Amount, const Name[], Max)
* Return type: Integer.
* Execute params: ExecuteHam(Ham_GiveAmmo, this, amount, "type", max);
*/
/**
* Description: Adds the item to the player.
* Forward params: function(this, idPlayer);
* Return type: Integer (boolean).
* Execute params: ExecuteHam(Ham_Item_AddToPlayer, this, idPlayer);
*/
Ham_Item_AddToPlayer
/**
* Description: Typically called every frame when a player has jump held.
* Forward params: function(this)
* Return type: None.
* Execute params: ExecuteHam(Ham_Player_Jump, this);
*/
Ham_Player_Jump
/**
* Description: Typically called every frame when a player has duck held.
* Forward params: function(this)
* Return type: None.
* Execute params: ExecuteHam(Ham_Player_Duck, this);
*/
Ham_Player_Duck
/**
* Description: Called whenever two entities touch.
* Forward params: function(this, idother);
* Return type: None.
* Execute params: ExecuteHam(Ham_Touch, this, idother);
*/
Ham_Touch