native

zpn_is_user_class

Syntax

native bool:zpn_is_user_class(const id, const class_id);

Description

Returns whether a client currently has the given class applied.

Parameters

id Client index
class_id Class index to compare against

Return

true if the client currently has the class, false otherwise