DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ OnFire()

override void Weapon_Base::OnFire ( int muzzle_index)
inlineprivate

См. определение в файле Magnum.c строка 277

278 {
279 super.OnFire(muzzle_index);
280 Magnum_Cylinder cylinder = Magnum_Cylinder.Cast(GetAttachmentByType(Magnum_Cylinder));
281 if (cylinder)
282 {
283 string bullet_nose = "bullet_nose";
284 if (muzzle_index > 0)
285 bullet_nose = string.Format("bullet_nose_" + (muzzle_index + 1));
286 cylinder.HideSelection(bullet_nose);
287 }
288 }
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.

Перекрестные ссылки string::Format().