Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Nowy szablon forum


Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej
Sign in to follow this  

RSS [L4D & L4D2] Tank Pass

Recommended Posts

Allows the Tank to pass control to another player.

  • Pass the Tank (player to player).
  • Confirmation menu for new Tank owner.
  • Flexible configs.
  • Admin menu: Pass the Tank (without confirmation)
  • Admin menu: Takeover the Tank (AI to player)
  • Supports both left 4 dead games.
  • Don't break game behavior.
  • Supports En,Ru languages.

Сonsole Variables:

PHP Code:

// "Tank Pass plugin version."
// "Execute command according convar value on old_tank and new_tank to close 3d party HUD."
l4d_tank_pass_command "sm_tankhud"
// "0=Kill the alive player before the Tank pass, 1=Replace the alive player with an infected bot before the Tank pass."
l4d_tank_pass_replace "1"
// "0=Allow to pass the Tank when taking any damage, 1=Prevent to pass the Tank when taking any damage."
l4d_tank_pass_damage "0"
// "0=Allow to pass the Tank when on fire, 1=Prevent to pass the Tank when on fire."
l4d_tank_pass_fire "1"
// "If l4d_tank_pass_fire convar set to 0: 0=Ignite the new Tank when passed, 1=Extinguish the new Tank when passed."
l4d_tank_pass_extinguish "0"
// "Sets the Tank passed count according convar value when taking control of the Tank AI. If >1 the tank will be replaced with a bot when the his frustration reaches 0."
l4d_tank_pass_takeover "1"
// "0=Off, 1=Display pass command info to the Tank through chat messages."
l4d_tank_pass_notify "1" 

Сonsole Commands:
HTML Code:

// Player Commands:
sm_pass/sm_tankpass // Pass the Tank control to another player.

// Admin Commands (ADMFLAG_KICK):
sm_forcepass <#userid|name> // Force to pass the Tank to target player.
sm_taketank <#userid|name> // Take control of the Tank AI.

Plugin Forwards:
PHP Code:

 * Called whenever plugin replaces a players tank control with another player
 * @param old_tank    the player who was a tank
 * @param new_tank    a player who will become a new tank
 * @noreturn
forward void TP_OnTankPass(int old_tankint new_tank); 

Plugin Requirements:
Left 4 DHooks Direct

Source Code:


29 July 2020
- Released on alliedmods.net.

v 2.1 (24 July 2020)
- Added the tank pass/takeover cmds to admin menu.
- Added more convars.
- Bug fixes.
- Phrases grammar fixes.

v 2.0 (23 July 2020)
- Updated SourcePawn syntax.
- left4dhooks migration.
- Added l4d2 support.
- Added confirm menu.
- Added sm_tankpass, sm_tankfpass commands.
- Removes tank_pass_button convar.

v 1.1 (14 February 2014)
- Added TP_OnTankPass forward.
- Added tank_pass_button convar.

v 1.0 (somewhere in 2013)
- Released privately for some l4d1 servers.

Attached Files
File Type: zip l4d_tank_pass.zip (22.1 KB)

Wyświetl pełny artykuł

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By MYGO.pl
      VIP MENU Items :
      Knifes menu
      Models Menu
      Glow Menu
      Golden Deagle = 16000$
      Health Shop = 100Hp = 1000$ / 500HP= 10000$ /1000HP = 16000$
      Buy BOmb = 16000$ Przeczytaj cały wpis
    • By MYGO.pl
      Hey Alliedmodders!:)

      I’m searching for a plugin that makes a HUD message when people join.
      Like... “%s joined the server”

      The one I found showing like 8 HUD messages if new map and players start to choose team, because they “join the server”...

      Is it possible to only check for players who join server after round 1? :)

      Thanks! Przeczytaj cały wpis
    • By MYGO.pl
      Hey Alliedmodders!:)

      I need a plugin for my CS 1.6 server.
      Check if only 1 Terrorist is alive. If only 1 Terrorist is alive then new round else there should be no new round.
      Even if no Counter-Terrorist is alive there should still be no new round before only 1 Terrorist is alive.

      Hope to see some coding!:)
      Thanks! Przeczytaj cały wpis
    • By MYGO.pl
      I would like to configure the sm reserved slots plugin so that my competitive server, with 10 slots (everyone on the server is playing) had all slots with priority for vips (flag a), that is, if at any point there are 10 players without vip playing and a vip connects, one of those 10 is randomly kiked. It is possible? Przeczytaj cały wpis
    • By MYGO.pl
      Hey, I searching this knife zombie and for basebuilder
      Team Zombies https://prnt.sc/ul90x7
      Team CT SuperCut https://prnt.sc/ul9302
      If people can help he are so good Przeczytaj cały wpis
  • Create New...