Garry's Mod Wiki

Player:SetClassID

  Player:SetClassID( number classID )

Description

This is used internally - although you're able to use it you probably shouldn't. Use player_manager.SetPlayerClass instead.

Sets the player's class id.

Arguments

1 number classID
The class id the player is being set with.