Signature
Ban(<clientnum>)
Parameters
| Name | Required? | Details |
|---|---|---|
| clientnum | Required | The client number of the player to ban. |
Example (from Treyarch's docs)
Ban( 2 )
Real uses in BO3's scripts
Called 5 times in the decompiled scripts. A few, zombies first:
- scripts/zm/gametypes/_globallogic_player.gsc, line 1798
ban(self getentitynumber()); - scripts/mp/gametypes/_globallogic_player.gsc, line 3976
ban(self getentitynumber()); - scripts/mp/gametypes/_globallogic_player.gsc, line 4008
ban(self getentitynumber()); - scripts/cp/gametypes/_globallogic_player.gsc, line 2700
ban(self getentitynumber()); - scripts/cp/gametypes/_globallogic_player.gsc, line 2731
ban(self getentitynumber());
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).