См. определение в файле PumpkinHelmet.c строка 78
79 {
80 if ( !
g_Game.IsDedicatedServer() )
81 {
82 if (force_disable)
83 {
84 player.RemoveActiveNV(
NVTypes.NV_PUMPKIN);
85 }
86 else
87 {
88 if ( attaching && (!player.IsNVGWorking() || player.GetNVType() !=
NVTypes.NV_PUMPKIN) )
89 {
90 player.AddActiveNV(
NVTypes.NV_PUMPKIN);
91 }
92 else if ( !attaching && player.IsNVGWorking() )
93 {
94 player.RemoveActiveNV(
NVTypes.NV_PUMPKIN);
95 }
96 }
97 }
98 }
Перекрестные ссылки g_Game.