UserMessage Types in CS:GO

Post Python examples to help other users.
Omega_K2
Senior Member
Posts: 227
Joined: Sat Jul 07, 2012 3:05 am
Location: Europe
Contact:

UserMessage Types in CS:GO

Postby Omega_K2 » Thu Dec 27, 2012 2:45 pm

I just realized this thread was lost too, so here it is again:

Code: Select all

AchievementEvent
SHORT
SHORT
SHORT
-OR-
SHORT

CallVoteFailed
BYTE
SHORT

VoteSetup
BYTE

VoteStart
BYTE
BYTE
BYTE
STRING
STRING
BOOL

VotePass
BYTE
BYTE
STRING
STRING

ReloadEffect
SHORT
# Note: CWeaponCSBase::SendReloadEvents + CCSPlayer: :D oAnimationEvent(PlayerAnimEvent_t,int)

ClientInfo

CurrentTimescale
FLOAT

DesiredTimescale
FLOAT
FLOAT
BYTE
FLOAT

HintText
STRING

CloseCaption
LONG
UBitLong
UBitLong

CloseCaptionDirect
LONG
UBitLong
UBitLong

RequestState

VoiceMask
LONG
LONG
LONG
LONG
BYTE

RawAudio
BYTE
BYTE
FLOAT
STRING

MatchEndConditions
LONG
LONG
LONG
LONG
# Note: it seeems like all of these are clients? Checking for active stuff

PlayerStatsUpdate
BYTE
SHORT
SHORT
SHORT
LONG
LONG
# Note: CRC32_ProcessBuffer + CRC32_Final

RadioText
BYTE
BYTE
STRING
STRING
STRING
STRING
STRING
#  Note: Last 3 UTIL_CSRadioMessage

KillCam
BYTE
BYTE
BYTE
# Note: might be +1 BYTE

UpdateTeamMoney
BYTE
SHORT
BYTE
# Note: may not be correct

ProcessSpottedEntityUpdate
BOOL
BYTE

SendAudio
STRING

Damage
BYTE
VECTOR
# Note: Vec3Coord

DisplayInventory
BOOL

AdjustMoney
SHORT

KeyHintText
BYTE
SHORT
-OR-
BYTE
STRING
# Note: not sure about this one unk_B827B0

VGUIMenu
STRING
BYTE
BYTE
STRING #KEY
STRING #VALUE

Train
BYTE

ResetHUD
BYTE

GameTitle

Geiger
BYTE

Rumble
BYTE
BYTE
BYTE

StopSpectatorMode
BYTE

SayText
BYTE
STRING
BYTE

TextMsg
BYTE
STRING

HudText
STRING

HudMsg
BYTE
FLOAT
FLOAT
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
FLOAT
FLOAT
FLOAT
FLOAT
STRING
#Note: I don't think this works in GO; UTIL_HudMessage

Fade
SHORT
SHORT
SHORT
BYTE
BYTE
BYTE
BYTE

Tilt
BYTE
BYTE
FLOAT
FLOAT
FLOAT
FLOAT
FLOAT

Shake
BYTE
FLOAT
FLOAT
FLOAT

---
LogoTimeMsg
FLOAT

CreditsMsg
BYTE

VoiceSubtitle
BYTE
BYTE
BYTE

Battery
SHORT

MessageText
BYTE
BYTE
BYTE
STRING
-OR-
Libraries: k2tools
Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)
Plugins (game-specific): None atm

If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython

Return to “Code examples / Cookbook”

Who is online

Users browsing this forum: No registered users and 9 guests