Table of Contents

GEPlayer::CBasePlayer

Description

Represents a basic player

Version

Beta 4.0

NameSpace

GEPlayer

Inherits

GEEntity.CBaseEntity

Methods

GetDeaths

Get death count.<br> Parameters: None<br> Return: int<br>

GetArmor

Get armor value<br> Parameters: None<br> Return: int<br>

ResetDeathCount

Reset death count to zero<br> Parameters: None<br> Return: None<br>

CommitSuicide

Kill the player<br> Parameters: bool explode, bool force<br> Return: None<br>

GetPlayerName

Get player name<br> Parameters: None<br> Return: string<br>

GetHealth

Get player health<br> Parameters: None<br> Return: int<br>

IsDead

Is the player dead<br> Parameters: None<br> Return: bool<br>

GetActiveWeapon

Gets the players current weapon<br> Parameters: None<br> Return: GEWeapon.CBaseCombatWeapon<br>