C_CSPlayerResource
Fields
This class has no fields.
Functions
GetPing
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetPing(1)
GetKills
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetKills(1)
GetAssists
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetAssists(1)
GetDeaths
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetDeaths(1)
IsConnected
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
bool |
|
local value = player_resource:IsConnected(1)
GetTeam
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetTeam(1)
GetPendingTeam
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetPendingTeam(1)
IsAlive
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
bool |
|
local value = player_resource:IsAlive(1)
GetHealth
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetHealth(1)
GetCoachingTeam
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetCoachingTeam(1)
HasC4
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
bool |
|
local value = player_resource:HasC4(1)
IsVIP
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
bool |
|
local value = player_resource:IsVIP(1)
IsHostageAlive
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
bool |
|
local value = player_resource:IsHostageAlive(1)
IsHostageFollowingSomeone
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:IsHostageFollowingSomeone(1)
GetHostageEntityID
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetHostageEntityID(1)
GetBombsiteAPosition
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetBombsiteAPosition(1)
GetBombsiteBPosition
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
Vector |
|
local value = player_resource:GetBombsiteBPosition(1)
GetHostageRescuePosition
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
Vector |
|
local value = player_resource:GetHostageRescuePosition(1)
GetNumMVPs
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetNumMVPs(1)
GetArmor
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetArmor(1)
HasHelmet
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
bool |
|
local value = player_resource:HasHelmet(1)
HasDefuser
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
bool |
|
local value = player_resource:HasDefuser(1)
GetScore
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetScore(1)
GetCompetitiveRanking
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetCompetitiveRanking(1)
GetCompetitiveWins
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetCompetitiveWins(1)
GetCompetitiveRankType
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetCompetitiveRankType(1)
GetCompTeammateColor
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetCompTeammateColor(1)
IsControllingBot
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:IsControllingBot(1)
GetControlledPlayer
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetControlledPlayer(1)
GetControlledByPlayer
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetControlledByPlayer(1)
GetBotDifficulty
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetBotDifficulty(1)
GetClanTag
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetClanTag(1)
GetPlayerName
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetPlayerName(1)
GetTotalCashSpent
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetTotalCashSpent(1)
GetGunGameLevel
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetGunGameLevel(1)
GetCashSpentThisRound
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetCashSpentThisRound(1)
GetEndMatchNextMapVote
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetEndMatchNextMapVote(1)
EndMatchNextMapAllVoted
This function has no parameters.
Return value
Name |
Type |
Description |
value |
bool |
|
local value = player_resource:EndMatchNextMapAllVoted()
GetActiveCoinRank
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetActiveCoinRank(1)
GetMusicID
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetMusicID(1)
GetPersonaDataPublicLevel
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetPersonaDataPublicLevel(1)
GetPersonaDataPublicCommendsLeader
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetPersonaDataPublicCommendsLeader(1)
GetPersonaDataPublicCommendsTeacher
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetPersonaDataPublicCommendsTeacher(1)
GetPersonaDataPublicCommendsFriendly
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetPersonaDataPublicCommendsFriendly(1)
IsCommunicationAbuseMute
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:IsCommunicationAbuseMute(1)
GetCrosshairCode
Name |
Type |
Description |
index |
int |
Entity index |
Return value
Name |
Type |
Description |
value |
int |
|
local value = player_resource:GetCrosshairCode(1)