int entity = CreateEntityByName("ambient_generic");
SetVariantInt(10); AcceptEntityInput(entity, "Volume");