Код
new Rotator = CreateEntityByName("func_rotating");
DispatchKeyValueVector(Rotator, "origin", position);
DispatchKeyValue(Rotator, "targetname", targetname);
DispatchKeyValue(Rotator, "maxspeed", "200");
DispatchKeyValue(Rotator, "friction", "0");
DispatchKeyValue(Rotator, "dmg", "0");
DispatchKeyValue(Rotator, "solid", "0");
DispatchKeyValue(Rotator, "spawnflags", "64");
DispatchSpawn(Rotator);
SetVariantString("!activator");
AcceptEntityInput(i, "SetParent", Rotator, Rotator);
AcceptEntityInput(Rotator, "Start");
Добавлено (17.05.2014, 15:21:21)
---------------------------------------------
не уверен..Добавлено (17.05.2014, 15:28:19)
---------------------------------------------
попробуй изменить координаты