TF2_DisguisePlayer
Disguises a client to the given model and team. Only has an effect on spies.
Note: This only starts the disguise process and a delay occurs before the spy is fully disguised
native void TF2_DisguisePlayer(int client, TFTeam team, TFClassType classType, int target = 0)Parameters
int client
Player's index.
Team to disguise the player as (only TFTeam_Red and TFTeam_Blue have an effect)
TFClassType class to disguise the player as
int target
Specific target player to disguise as (0 for any)
Return Value
voidError
Invalid client index, client not in game, or no mod support.