TF2_SetPlayerPowerPlay Function

Enables/disables PowerPlay mode on a player.

void TF2_SetPlayerPowerPlay(int client, bool enabled)

Parameters

int client

Player's index.

bool enabled

Whether to enable or disable PowerPlay on player.

Errors

Invalid client index, client not in game, or no mod support.