This plugin is a copy of
Shield Teleport written by
Drumanid for SourceMod.
Author is
w0w (me).
Current version: 1.1
Changelog:
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: