ScriptEvent:giveClass

From Mod Wiki

Parameters

string name -- Name of the playerClass to change to.

Result

None.

Supported By

idPlayer

Comments

  • If the playerClass is not valid for the team the player is on, nothing will be changed.
  • If the name is not a valid playerClass, an error will be thrown.

Functionality

Changes the player's playerClass.