Garry's Mod Wiki

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

Page Links


Special Pages


Wikis

?

Render Time: 23ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 6