NOTE: This is an archive of the old wiki.
Expect content to be outdated and links to be broken.

User Tools


python:geplayer:cgempplayer

GEPlayer::CGEMPPlayer

Description

Represents the mp player class

Version

Beta 4.0

NameSpace

GEPlayer

Inherits

Methods

IncrementMatchScore

Increase match score. Note can decrease it by passing neg value<br> Parameters: int Value to add<br> Return: None<br>

IncrementDeathCount

Increase death count. Note can decrease it by passing neg value<br> Parameters: int Value to add<br> Return: None<br>

ForceRespawn

Force player to respawn<br> Parameters: None<br> Return: None<br>

GetSteamHash

Gets the player unique steam hash<br> Parameters: None<br> Return: unsigned int<br>

SetMatchScore

Set players match score<br> Parameters: int Match score<br> Return: None<br>

GetMatchScore

Gets players match score<br> Parameters: None<br> Return: int<br>

ChangeTeam

Change players team<br> Parameters: int Team id, bool force (default false)<br> Return: None<br>

SetPlayerModel

Set players model<br> Parameters: string character name, int skinIndex (default 0), bool selectOveride (default false)<br> Return: None<br>

python/geplayer/cgempplayer.txt ยท Last modified: 2023/09/03 18:43 by 127.0.0.1