AMXX-BG.INFO crxknives.inc

crxknives

Browse all symbols documented inside this include file.

Constants

Name Description
_crxknives_included

Functions

Name Description
crxknives_can_use_skill Checks whether or not the client can use a knife skill according to the cvar "km_knife_only_skills"
crxknives_get_attribute_int Returns the integer value from a knife attribute.
crxknives_get_attribute_float Returns the float value from a knife attribute.
crxknives_get_attribute_str Returns the string value from a knife attribute.
crxknives_get_knives_num Returns the total number of registered knives.
crxknives_get_user_knife Gets the client's current knife.
crxknives_has_knife_access Checks whether or not the client has access to the specified knife.
crxknives_is_knife_valid Checks whether or not the knife index is valid.

Forwards

Name Description
crxknives_knife_updated Called when the client's knife model is changed.
crxknives_attempt_change Called when the client attempts to change his knife model.