client_changeclass

Syntax

forward client_changeclass(id, newclass, oldclass);

Usage

Parameter Description
id
The index of the player who changed.
newclass
The class the client changed to. Check the class enum in ns_const.inc.
oldclass
The class the client changed from. Check the class enum in ns_const.inc.

Description

Called whenever the client's class is changed.

Return

This forward ignores the returned value.