Table of Contents
GEPlayer::CGEPlayer
Description
Represents generic ge player
Version
Beta 4.0
NameSpace
GEPlayer
Inherits
Methods
Spawn
Make the player spawn.<br> Parameters: None<br> Return: None<br>
IncrementScore
Increase score. Note can decrease it by passing neg value<br> Parameters: int Value to add<br> Return: None<br>
GetMaxArmor
Get max armor<br> Parameters: None<br> Return: int<br>
GetMaxHealth
Get max health<br> Parameters: None<br> Return: int<br>
GetScore
Get score<br> Parameters: None<br> Return: int<br>
GetPlayerModel
Gets the model character ident<br> Parameters: None<br> Return: string<br>
SetMaxArmor
Sets max armor<br> Parameters: int Max armor<br> Return: None<br>
SetDamageMultiplier
Sets damage multiplier<br> Parameters: int Damage multi<br> Return: None<br>
SetArmorValue
Sets player current armor value<br> Parameters: int Armor value<br> Return: None<br>
SetMaxHealth
Sets players max health value<br> Parameters: int Max Health<br> Return: None<br>
SetHealth
Sets player current health value<br> Parameters: int Health value<br> Return: None<br>
GetScore
Gets player current score<br> Parameters: None<br> Return: int<br>
SwitchToWeapon
Forces player to switch to weapon<br> Parameters: string Weapon name<br> Return: None<br>
StripAllWeapons
Remove all weapons from the player<br> Parameters: None<br> Return: None<br>
GiveNamedWeapon
Gives weapon to player<br> Parameters: string Weapon name, int Ammo count, bool stripAmmo<br> Return: None<br>