示例#1
0
 private static void OnUsingMedicalItem(UsingMedicalItemEventArgs ev)
 {
     BlacklistedIds.Add(ev.Player.Id);
     Timing.CallDelayed(3f, () => BlacklistedIds.Remove(ev.Player.Id));
 }
示例#2
0
 private static void OnThrowingGrenade(ThrowingGrenadeEventArgs ev)
 {
     BlacklistedIds.Add(ev.Player.Id);
     Timing.CallDelayed(1.3f, () => BlacklistedIds.Remove(ev.Player.Id));
 }