301 {
302 super.ShowBullet(muzzleIndex);
303
304 Magnum_Cylinder cylinder = Magnum_Cylinder.Cast(GetAttachmentByType(Magnum_Cylinder));
305 if (cylinder)
306 {
307 string bullet = "bullet";
308 if (muzzleIndex > 0)
309 bullet =
string.
Format(
"bullet_" + (muzzleIndex + 1));
310
311 cylinder.ShowSelection(bullet);
312
314 {
315 string bullet_nose = "bullet_nose";
316 if (muzzleIndex > 0)
317 bullet_nose =
string.
Format(
"bullet_nose_" + (muzzleIndex + 1));
318 cylinder.ShowSelection(bullet_nose);
319 }
320 }
321 }
bool IsChamberFiredOut(int idx)
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.