python:geplayer:cbaseplayer
Table of Contents
GEPlayer::CBasePlayer
Description
Represents a basic player
Version
Beta 4.0
NameSpace
GEPlayer
Inherits
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>
python/geplayer/cbaseplayer.txt ยท Last modified: 2023/09/03 18:43 by 127.0.0.1