Пример #1
0
 public void On_RocketShooting(RocketShootEvent rse)
 {
     if (AdminOnly && !rse.Player.Admin)
     {
         return;
     }
     rse.BaseLauncher.primaryMagazine.contents = rse.BaseLauncher.primaryMagazine.capacity;
     rse.BaseLauncher.GetItem().condition = rse.BaseLauncher.GetItem().info.condition.max;
     rse.BaseLauncher.SendNetworkUpdateImmediate();
 }
Пример #2
0
 public void On_RocketShooting(RocketShootEvent rse)
 {
     SetHookWorking("On_RocketShooting");
     Broadcast(rse.Player.Name + " shot a rocket");
 }