crxknives_get_knives_num
Returns the total number of registered knives.
Syntax
native crxknives_get_knives_num() /** * Gets the client's current knife. * * @param id Client index * @return Client's knife index */ native crxknives_get_user_knife(id) /** * Checks whether or not the client has access to the specified knife. * * @param id Client index * @param knife Knife index * @return True if he has, false otherwise */ native bool:crxknives_has_knife_access(id, knife) /** * Checks whether or not the knife index is valid. * * @param knife Knife index * @return True if it is, false otherwise */ native bool:crxknives_is_knife_valid(knife)
Return
Total — number of registered knives
Defined in
crxknives.inc
at line 80
.
This documentation was automatically generated from source.