players.engines.orangebox.cstrike module

Provides CS:S specific Player based functionality.

class players.engines.orangebox.cstrike.Player(index)[source]

Bases: players.engines.orangebox.Player

Class used to interact directly with players.

has_c4()[source]

Return whether or not the player is carrying C4.

spawn(force=False)[source]

Spawn the player.

Parameters:force (bool) – Whether or not the spawn should be forced.
players.engines.orangebox.cstrike._pre_client_command(args)[source]

Block name changes started by the server.

Pre-hook on IVEngineServer::ClientCommand to block the name changes.