Difference between revisions of "ScriptEvent:giveClass"

From Mod Wiki
 
(No difference)

Latest revision as of 17:03, 5 November 2007

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.