RPC === SV_GameSendServerCommand() --- | Command | Description | Example | |---------|-----------------------------|-----------------------------| | `Q` | Sets post-processing effect | `Q` | | `o` | Plays a sound | `o "mp_challenge_complete"` | | `f` | iPrintln | `f "Hello World"` | | Functions --- | `0x00186638` | `Add_Ammo(gentity_s *ent, unsigned int weaponIndex, char weaponModel, int count, int fillClip)` | | `0x00013460` | `AimTarget_GetTagPos(int localClientNum, centity_s *cent, unsigned int tagName, float *pos)` | | `0x000116B0` | `AimAssist_RegisterDvars` | | `0x000329A8` | `BG_FindWeaponIndexForName(const char *name)` | | `0x00032930` | `BG_GetNumWeapons()` | | `0x00032898` | `BG_GetWeaponDef(unsigned int weaponIndex)` | | `0x00032948` | `BG_GetWeaponIndex(WeaponDef *weapDef) ` | | `0x00032F90` | `BG_GetWeaponIndexForName(const char *name, void (__cdecl *regWeap)(unsigned int))` | | `0x00020D70` | `BG_GetPerkIndexForName(const char *perkName)` | | `0x001D9EC0` | `Cbuf_AddText(int localClientNum, const char *text)` | | `0x001D9D70` | `Cbuf_InsertText(int localClientNum, const char *text)` | | `0x00179590` | `CheatsOk(gentity_s *ent)` | | `0x00033140` | `CG_GetWeaponIndexForName(const char *name)` | | `0x0005EF68` | `CG_BoldGameMessage(int localClientNum, const char *msg)` | | `0x0005EFB0` | `CG_GameMessage(int localClientNum, const char *msg)` | | `0x0017B830` | `ClientCommand(int clientNum)` | | `0x0016C558` | `ClientUserinfoChanged(int clientNum)` | | `0x0016C450` | `ClientCleanName(const char *in, char *out, int outSize)` | | `0x0016C148` | `ClientDisconnect(int clientNum)` | | `0x00168070` | `ClientInactivityTimer(gclient_s *client)` | | `0x001689D8` | `ClientThink_real(gentity_s *ent, usercmd_s *ucmd)` | | `0x000AB210` | `CL_CheckForResend(int localClientNum)` | | `0x000A8920` | `CL_InitOnceForAllClients(void)` | | `0x000A0688` | `CL_InitGamepadCommands(void)` | | `0x000A5598` | `CL_InitKeyCommands(void)` | | `0x000A7020` | `CL_KeyEvent(int localClientNum, int key, const int down, const unsigned int time)` | | `0x000A1218` | `CL_InitInput(void)` | | `0x000A0E48` | `CL_ShutdownInput(void)` | | `0x001D9B18` | `Cmd_AddCommandInternal(const char *cmdName, void (__cdecl *function)(), cmd_function_s *allocedCmd)` | | `0x001D9A40` | `Cmd_FindCommand(const char *cmdName)` | | `0x001D99B0` | `Cmd_RemoveCommand(const char *cmdName)` | | `0x001E6AE8` | `Com_DvarDump(int channel, const char *match)` | | `0x001E2AA0` | `Com_Error(errorParm_t code, const char *fmt)` | | `0x001E5A20` | `Com_GetServerDObj(int handle)` | | `0x001E3A60` | `Com_PrintError(int channel, const char *fmt)` | | `0x001E3C40` | `Com_Printf(int channel, const char *fmt)` | | `0x001E2FB0` | `Com_PrintMessage(int channel, const char *msg, int error)` | | `0x001E5CE8` | `Com_SafeServerDObjFree(int handle)` | | `0x001E6268` | `Con_IsDvarCommand(const char *cmd)` | | `0x00179710` | `ConcatArgs(int start)` | | `0x001BA5B0` | `ConsoleCommand()` | | `0x002762C8` | `Dvar_FindVar(const char *dvarName)` | | `0x002752A0` | `Dvar_FindMalleableVar(const char *dvarName)` | | `0x00277068` | `Dvar_GetFloat(const char *dvarName)` | | `0x00276F60` | `Dvar_GetString(const char *dvarName)` | | `0x00277138` | `Dvar_GetBool(const char *dvarName)` | | `0x002770C8` | `Dvar_GetInt(const char *dvarName)` | | `0x002761F8` | `Dvar_RegisterBool(const char *dvarName, bool value, unsigned __int16 flags, const char *description)` | | `0x001E7B48` | `Dvar_RegisterInt_f` | | `0x002761B8` | `Dvar_RegisterInt(const char *dvarName, int value, int min, int max, unsigned __int16 flags, const char *description)` | | `0x00276178` | `Dvar_RegisterFloat(const char *dvarName, float value, float min, float max, unsigned __int16 flags, const char *description)` | | `0x002753F8` | `Dvar_RegisterVariant(const char *dvarName, char type, unsigned __int16 flags, DvarValue value, DvarLimits domain, const char *description)` | | `0x00285BD8` | `DObjFree(DObj_s *obj)` | | `0x002841E8` | `DObjGetTree(DObj_s *obj)` | | `0x00188C80` | `ExitLevel(void)` | | `0x002F3F60` | `GetTickCount()` | | `0x01319780` | `G_Entity (Length 0x280)` | | `0x001C20F8` | `G_EntUnlink(gentity_s *ent)` | | `0x001BC978` | `G_FreeEntity(gentity_s *ed)` | | `0x001C99C8` | `G_FreeTurret(gentity_s *self)` | | `0x0001D37C` | `G_GetEntityTypeName(gentity_s *ent)` | | `0x001BF4A0` | `G_GetWeaponIndexForName(const char *name)` | | `0x001C0890` | `G_GivePlayerWeapon(playerState_s *pPS, int iWeaponIndex, char altModelIndex)` | | `0x00174BF8` | `G_InitializeAmmo(gentity_s *pSelf, int weaponIndex, char weaponModel, int hadWeapon)` | | `0x001BE7C8` | `G_LocalizedStringIndex (const char * string)` | | `0x001BE758` | `G_MaterialIndex (const char * name)` | | `0x001BCD10` | `G_Spawn(void)` | | `0x00179F88` | `G_Say(gentity_s *ent, gentity_s *target, int mode, const char *chatText)` | | `0x001BE3F0` | `G_SetModel(gentity_s *ent, const char *modelName)` | | `0x001B8810` | `G_SpawnFloat(const char *key, const char *defaultString, float *out)` | | `0x001C8820` | `G_SpawnTurret(gentity_s *self, const char *weaponinfoname)` | | `0x001BE0B8` | `G_GetModelIndex` | | `0x00183DD0` | `G_RegisterWeapon(unsigned int weapIndex)` | | `0x001B8310` | `G_CallSpawnEntity(gentity_s *ent)` | | `0x001BE228` | `G_EntAttach(gentity_s *ent, const char *modelName, unsigned int tagName, int ignoreCollision)` | | `0x01BCC10G` | `G_PrintEntities(void)` | | `0x001ACBE8` | `GScr_AddTestClient` | | `0x001A0BC8` | `GScr_GetPartName(void)` | | `0x00182150` | `GScr_NewClientHudElem(void)` | | `0x00167968` | `HandleClientEvent(gclient_s *client, gentity_s *ent, int event, int eventParm)` | | `0x001831F0` | `HECmd_FadeOverTime(scr_entref_t entref)` | | `0x00182A78` | `HECmd_SetClock_Internal(scr_entref_t entref, he_type_t type, const char *cmdName)` | | `0x00181798` | `HECmd_SetMaterial(scr_entref_t entref)` | | `0x00181920` | `HECmd_SetText(scr_entref_t entref)` | | `0x00182F50` | `HECmd_ScaleOverTime(scr_entref_t entref)` | | `0x001806E0` | `HudElem_Alloc(int clientNum, int teamNum)` | | `0x001E8DB4` | `Huff_Init(huffman_t *huff)` | | `0x001BAC18` | `InitTrigger(gentity_s *self)` | | `0x001BB1B0` | `InitTriggerWait(gentity_s *ent, int spawnflag)` | | `0x00250DB8` | `Item_DvarEnum_Setting(itemDef_s *item)` | | `0x004C6C78` | `I_strlwr(char *s)` | | `0x0027CC40` | `I_stricmp(const char *s0, const char *s1)` | | `0x0027CAE0` | `I_strnicmp(const char *s0, const char *s1, int n)` | | `0x004C6C68` | `I_strncpyz(char *dest, const char *src, int destsize)` | | `0x000A7650` | `Key_Bind_f(void)` | | `0x000A5668` | `Key_Bindlist_f(void)` | | `0x000A6F08` | `Key_Unbind_f(void)` | | `0x000A5410` | `Key_IsCommandBound(int localClientNum, const char *command)` | | `0x000A5B50` | `Key_StringToKeynum(const char *str)` | | `0x00253670` | `Menu_PaintAll(UiContext *dc)` | | `0x001EDAC8` | `MSG_Init(msg_t *buf, char *data, int length)` | | `0x001EDD50` | `MSG_initHuffmanInternal` | | `0x001ED840` | `MSG_ReadBitsCompress(const char *from, char *to, int size)` | | `0x000DBA00` | `ScrPlace_Init(void)` | | `0x001B0B40` | `Scr_ConstructMessageString(int firstParmIndex, int lastParmIndex, const char *errorContext, char *string, unsigned int stringLimit)` | | `0x00209C50` | `Scr_Error(const char *error)` | | `0x0020A340` | `Scr_GetFloat(unsigned int index)` | | `0x001B7630` | `Scr_GetEntity(unsigned int index)` | | `0x0017CA60` | `Scr_PlayerKilled(gentity_s *self, gentity_s *inflictor, gentity_s *attacker, int damage, int meansOfDeath, int iWeapon, const float *vDir, hitLocation_t hitLoc, int psTimeOffset, int deathAnimDuration)`| | `0x00209C88` | `Scr_ParamError(unsigned int index, const char *error)` | | `0x001BB860` | `SP_trigger_radius(gentity_s *ent)` | | `0x001B52F0` | `SP_script_brushmodel(gentity_s *self)` | | `0x00200280` | `SL_ConvertToString(unsigned int stringValue)` | | `0x001B9FF8` | `StringToFilter(char *s, ipFilter_s *f)` | | `0x004AA6C0` | `strncpy(char *dest, const char *source, unsigned int count)` | | `0x001B9EE8` | `Svcmd_EntityList_f(void)` | | `0x001BA2B0` | `Svcmd_RemoveIP_f(void)` | | `0x002189D8` | `Sv_AddTestClient(void)` | | `0x00211D98` | `SV_AddOperatorCommands(void)` | | `0x0021F1B0` | `SV_AddServerCommand(client_s *client, svscmd_type type, const char *cmd)` | | `0x00219F08` | `SV_SetBrushModel(gentity_s *ent)` | | `0x001D9270` | `SV_Cmd_EndTokenizedString(void)` | | `0x001DB040` | `SV_Cmd_TokenizeString(const char *text_in)` | | `0x00215310` | `SV_ClientCommand(client_s *cl, msg_t *msg)` | | `0x00217880` | `SV_DirectConnect(netadr_t from)` | | `0x00219540` | `SV_DObjGetTree(gentity_s *ent)` | | `0x00215310` | `SV_ExecuteClientCommand(client_s *cl, const char *s, int clientOK)` | | `0x00215EB0` | `SV_ExecuteClientMessage(client_s *cl, msg_t *msg)` | | `0x002285A0` | `SV_LinkEntity(gentity_s *gEnt)` | | `0x002131A8` | `SV_MapRestart(int fast_restart)` | | `0x00212C40` | `SV_KickClient(client_s *cl, char *playerName, int maxPlayerNameLen)` | | `0x0021A750` | `SV_GetConfigstringConst(int index)` | | `0x0021A0A0` | `SV_GameSendServerCommand(int clientNum, svscmd_type type, const char *text)` | | `0x0021F6A8` | `SV_SendServerCommand(client_s *cl, svscmd_type type, const char *fmt)` | | `0x0021B818` | `SV_SetConfigstring(int index, const char *val)` | | `0x0021A130` | `SV_SetMapCenter(float *mapCenter)` | | `0x002271C8` | `SV_UnlinkEntity(gentity_s *gEnt)` | | `0x002EA400` | `Sys_Error(const char *error)` | | `0x002F3FB8` | `Sys_Milliseconds()` | | `0x001FB598` | `Sys_EnterCriticalSection(CriticalSection critSect)` | | `0x001FB340` | `Sys_LeaveCriticalSection(CriticalSection critSect)` | | `0x0016CF90` | `PlayerCmd_giveWeapon(scr_entref_t entref)` | | `0x00172508` | `PlayerCmd_SetViewmodel(scr_entref_t entref)` | | `0x00170A68` | `PlayerCmd_SetClientDvar(scr_entref_t entref)` | | `0x0017CBC0` | `Player_Die(gentity_s* self, gentity_s* inflictor, gentity_s* attacker, int damage, int meansOfDeath, int WeaponIndex, const float *vDir, int hitLocation, int psTime)` | | `0x0027E0D0` | `va(const char *format)` | | `0x004C6C58` | `vsnprintf_0(char *string, unsigned int count, const char *format, char *ap)` | | `0x004AA890` | `vsnprintf_l(char *string, unsigned int count, const char *format, localeinfo_struct *plocinfo, char *ap)` | | `0x0028C668` | `XAnimClearTree(XAnimTree_s *tree)` | | `0x0028C438` | `XAnimFreeInfo(XAnimTree_s *tree, unsigned int infoIndex)` | | `0x01316880` | `level_locals_t` | | `0x012E9858` | `g_hudelems` |