Added WeaponIDToAlias native to CStrike extension (bug 5460, r=psychonic).

This commit is contained in:
Kyle Sanderson
2012-12-14 15:12:22 -05:00
parent eb230a45f6
commit 2e3c5e367e
6 changed files with 72 additions and 1 deletions
+9
View File
@@ -311,6 +311,15 @@ native CS_SetMVPCount(client, value);
*/
native CSWeaponID:CS_AliasToWeaponID(const String:alias[]);
/**
* Gets a alias from a weaponID
* @param weaponID WeaponID to get alias for.
* @param destination Destination string to hold the weapon alias.
* @param len Length of the destination array.
* @return Returns number of cells written.
*/
native CS_WeaponIDToAlias(weaponID, String:destination[], len);
/**
* Do not edit below this line!
*/