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

Nowy szablon forum

mygo.pl

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  
MYGO.pl

RSS [L4D & L4D2] Tank Pass

Recommended Posts

About:
Allows the Tank to pass control to another player.

Features:
  • 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.

Credits:
Сonsole Variables:

PHP Code:

// "Tank Pass plugin version."
l4d_tank_pass_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:
l4d_tank_pass
l4d_lib.inc


Changelog:

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
Guest
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
      This is a replacement for [L4D(2)] 4+ Survivor AFK Fix (1.2) so remove it.
      This afk fix includes no commands since it fixes the game function.


      L4d1 is only a port and untested let me know.

      RepoLink

      Requirements: Installation:
      Attached Files survivor_afk_fix.zip (8.1 KB) Wyświetl pełny artykuł
    • By MYGO.pl
      Current known limits to this workaround:

      1. When you auto-mute a player in another server and join a server with this plugin, the mute will remain until removed. This means it will only work flawlessly if you only play at servers with this plugin.
      Attached Files Get Plugin or Get Source (NoMuteByReports.sp - 1.0 KB) Wyświetl pełny artykuł
    • By MYGO.pl
      I want to change a player model to custom model. The model is containing 3 part(studio,heads,boots) and 8 head , 13 boots, 50 skin. I want to when I type say /change, player model will change to
      Heads-Submodel 6
      Boots-Submodel 12
      and
      Skin 35.
      Attached Images studioheadsboots.jpg (94.8 KB) heads.jpg (87.9 KB) boots.jpg (86.1 KB) boots13.jpg (96.5 KB) skins.jpg (78.9 KB) Przeczytaj cały wpis
    • By MYGO.pl
      Today I'm here to bring you a CSGO patent plugin, created by a Brazilian a few years ago

      I don't know how things work here but I wanted someone to take on this project because he is very good, and William q created this plugin no longer wants to mess with him because he has other priorities

      CSGO + RANK + TOP15 PATENTS

      Plugin made by me in mid-2018 (if I'm not mistaken), since its leak I haven't updated it, but in the future I will be creating one in the future

      Plugin is very simple, as title says it and CSGO equal rank showing patents

      But I think it needs to be fixed there are some bugs

      https://imgur.com/n6gerRh

      Updates q plugin can have

      first by an SQL

      According to a system in which his level is shown, even the point loss system needs to be improved


      I will leave some pictures of the plugin
      Remembering that the plugin doesn't have a txt file yet, most of the phrases are in PT-BR

      Remembering that I had authorization from WILLIAM (CSREVO) To post plugin here


      Attached Images csrevo-patente-csgo-4.jpg (55.5 KB) csrevo-patente-csgo-1.jpg (30.3 KB) csrevo-patente-csgo-8.jpg (85.0 KB) csrevo-patente-csgo-6.jpg (20.1 KB) Attached Files Get Plugin or Get Source (csr_patentes_csgo.sma - 59.0 KB) Przeczytaj cały wpis
    • By MYGO.pl
      I'm looking for a plugin, the effect of killing with a knife as in the video, the download link does not work there
      https://www.youtube.com/watch?v=7UeU1kt-n2U Przeczytaj cały wpis
×
×
  • Create New...