AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   Shield Teleport v1.1 (https://forums.alliedmods.net/showthread.php?t=312213)

eat1k 11-21-2018 13:53

Shield Teleport v1.1
 
2 Attachment(s)
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:

tom . 11-21-2018 23:48

Re: Shield Teleport
 
Nice plugin.

PHP Code:

[ro] - Romanian Language
SHIELD_TELEPORT_ENABLED 
Acum este nemuritor si nu poti primi daune timp de %0.f secunde.
SHIELD_TELEPORT_DISABLED Esti muritor ... Acum poti primi daune!
SHIELD_TELEPORT_COOLDOWN Protectia dupa teleport va fi disponibila in %0.f secunde


quLeryuzz 11-22-2018 07:05

Re: Shield Teleport
 
in Turkish

PHP Code:

[tr]
SHIELD_TELEPORT_ENABLED Suanda olemezsin ve %0.f saniye boyunca hasar veremezsin.
SHIELD_TELEPORT_DISABLED Artik olebilirsin... Ve simdi hasar verebilirsin.
SHIELD_TELEPORT_COOLDOWN Teleportu kullandiktan sonra %0.f saniye boyunca koruman olacak


eat1k 11-22-2018 09:40

Re: Shield Teleport
 
File "amxmodx/data/lang/shield_teleport.txt" was updated. Added support for Turkish (thanks to quLeryuzz) and Romanian (thanks to tom.).

eat1k 11-25-2018 08:29

Re: Shield Teleport v1.0
 
Updated src and zip file. I forgot to translate some things into English. Moreover, I added a link to the official resource topic on Spanish forum.

eat1k 11-25-2018 17:10

Re: Shield Teleport v1.0
 
Updated to 1.1.
  • Engine module instead of hamsandwich (thanks to 6u3oH)
  • COORD_X, COORD_Y and TIME_HUD now in cvars: shield_teleport_message_hud_x, shield_teleport_message_hud_y and shield_teleport_message_hud_time.

thEsp 01-05-2019 06:07

Re: Shield Teleport v1.1
 
This is useful, unless there's no bug :).


All times are GMT -4. The time now is 01:06.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.