Added cs_get_weapon_type(index)

This commit is contained in:
Johnny Bergström
2004-09-25 23:24:34 +00:00
parent 6887dfef16
commit 3fc3ece5b0
3 changed files with 34 additions and 0 deletions

View File

@ -177,6 +177,10 @@ native cs_get_weapon_ammo(index);
*/
native cs_set_weapon_ammo(index, newammo);
/* Get weapon type. Corresponds to CSW_* in amxconst.inc: 1 is CSW_P228, 2 is CSW_SCOUT and so on...
*/
native cs_get_weapon_type(index);
/* Returns 1 if no knives mode is enabled, else 0.
*/
native cs_get_no_knives();