Added WeaponIDToAlias native to CStrike extension (bug 5460, r=psychonic).
This commit is contained in:
@@ -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!
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user