TF2_AddCondition
Adds a condition to a player
native void TF2_AddCondition(int client, TFCond condition, float duration = TFCondDuration_Infinite, int inflictor = 0)Parameters
int client
Player's index.
Integer identifier of condition to apply.
float duration
Duration of condition (does not apply to all conditions).
Pass TFCondDuration_Infinite to apply until manually removed.
int inflictor
Condition inflictor's index (0 for no inflictor).
Return Value
voidError
Invalid client index, client not in game, or no mod support.