GSC reference › Built-in
SetClientDrawTalk()
Built-in (engine)
Server
Player Called on: player
Sets cg_drawTalk dvar only on this client
Signature
<player> SetClientDrawTalk(<value>)
Called on an entity: player SetClientDrawTalk(...)
Parameters
| Name | Required? | Details |
|---|---|---|
| value | Required | The value to set |
Example (from Treyarch's docs)
self SetClientDrawTalk( 3 )
Real uses in BO3's scripts
Called 3 times in the decompiled scripts. A few, zombies first:
- scripts/zm/gametypes/_globallogic_player.gsc, line 125
self setclientdrawtalk(3); - scripts/mp/gametypes/_globallogic_player.gsc, line 622
self setclientdrawtalk(3); - scripts/cp/gametypes/_globallogic_player.gsc, line 308
self setclientdrawtalk(3);
Related built-ins
- SetClientUIVisibilityFlag()Sets a HUD visibility flag only on this client
- SetClientThirdPerson()Set the client to be third person
- SetClientScriptMainMenu()Sets g_scriptMainMenu dvar only on this client
- SetClientCGObjectiveText()Sets the objective text only on this client
- SetClientMiniScoreboardHide()Sets miniscoreboardhide dvar only on this client
- SetClientThirdPersonAngle()Sets cg_thirdPerson dvar only on this client
- SetClientNumLives()Sets scr_numLives dvar only on this client
- SetClientPlayerSprintTime()Sets player_sprintTime dvar only on this client
- SetCurrentSpectatorClient()Set the given client as a spectator
- SetClientCompass()Sets compass dvar only on this client
- SetClientHUDHardcore()Sets ui_hud_hardcore dvar only on this client
- SetClientPlayerPushAmount()Sets playerPushAmount dvar only on this client
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).