int EntIndex = CreateEntityByName("prop_dynamic_override"); DispatchKeyValue(EntIndex, "model", "models/player/custom_player/legacy/ctm_idf.mdl"); ActivateEntity(EntIndex); DispatchSpawn(EntIndex); SetVariantString("move_knife_r"); AcceptEntityInput(EntIndex, "SetAnimation"); AcceptEntityInput(EntIndex, "Enable");