players.engines.orangebox.cstrike module
Provides CS:S specific Player based functionality.
-
class players.engines.orangebox.cstrike.Player(index, caching=None)[source]
Bases: 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.
-
caching = True