ScriptEvent:giveClass

From Mod Wiki
Revision as of 17:03, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.