CS_GetTranslatedWeaponAlias Function

Gets a weapon name from a weapon alias

void CS_GetTranslatedWeaponAlias(const char[] alias, char[] weapon, int size)


const char[] alias

Weapons alias to get weapon name for.

char[] weapon

Buffer to store weapons name

int size

Size of buffer to store the weapons name.


Will set the buffer to the original alias if it is not an alias to a weapon.