CS_IsValidWeaponID Function

Returns weather a WeaponID is valid on the current mod (css or csgo)

bool CS_IsValidWeaponID(CSWeaponID id)


CSWeaponID id
No description.

Return Value

Returns true if its a valid WeaponID false otherwise.


This will return false always for CSWeapon_NONE. Should only be called after OnMapStart since weapon info isnt intialized before.