View Single Post
Plugin Info:     Modification:          Category:         
eat1k
Senior Member
Join Date: Apr 2018
Old 11-21-2018 , 13:53   Shield Teleport v1.1
Reply With Quote #1

This plugin is a copy of Shield Teleport written by Drumanid for SourceMod.
Author is w0w (me).

Current version: 1.1

Changelog:
Spoiler


Requirements:
- AMX Mod X 1.8.3 or higher.
- ReAPI module.

Multilingual support:
  • Russian (RU)
  • English (EN)
  • Spanish (ES)
  • Romanian (RO): tom .
  • Turkish (TR): quLeryuzz

After using the teleport, it's given protection to the player for a few seconds (depending on the CVar), during this time the player cannot be attacked. Moreover, the player cannot attack others.

The config file is created automatically in "amxmodx/configs/plugins" where you can set settings which you want.

Code:
// Cvars for plugin "Shield Teleport" by "w0w" (shield_teleport.amxx, v1.0)


// How many seconds will the player be protected and won't be able to damage after using a teleport?
// -
// Default: "3.0"
shield_teleport_timer "3.0"

// 1 - Enable the glow which shows that damage is forbidden on the player / 0 - disabled
// -
// Default: "1"
shield_teleport_glow "1"

// How many seconds don't give the player protection after using a teleport?
// -
// Default: "10"
shield_teleport_time_block "10"

// Which team can get protection? 1 - any / 2 - Terrorists / 3 - Counter-Terrorists
// -
// Default: "1"
shield_teleport_team "1"

// How to display messages to the player? 0 - disabled / 1 - chat / 2 - center / 3 - hud
// -
// Default: "2"
shield_teleport_message "2"
Official resource topic on:
Attached Files
File Type: sma Get Plugin or Get Source (shield_teleport.sma - 491 views - 6.0 KB)
File Type: zip shield_teleport_1.1.zip (3.9 KB, 176 views)

Last edited by eat1k; 11-25-2018 at 17:19. Reason: Updated to 1.1.
eat1k is offline