Garry's Mod Wiki

player_manager.ClearPlayerClass

player_manager.ClearPlayerClass

player_manager.ClearPlayerClass( Player ply )

Description

Clears a player's class association by setting their ClassID to 0

Arguments

1 Player ply
Player to clear class from

Example

Source for player_manager.ClearPlayerClass (from lua/includes/modules/player_manager.lua)

function ClearPlayerClass( ply ) ply:SetClassID( 0 ) end

Special Pages


Wikis

?

Render Time: 66ms

DB GetPage 14
Generate Html 1
SaveChanges (1) 37
Render Body 0
Render Sidebar 11