PLUGIN - cs2_teleportprotection

Spatiul dedicat dezvoltatorilor. Aici gasesti resurse pentru CounterStrikeSharp, ajutor pentru cod si scripting avansat.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 2389
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

PLUGIN - cs2_teleportprotection

Post by greenie »

Teleport Protection Plugin
Config
RoundStartDelay = 5.0f To disable teleport protection for X seconds after round start. 0 for instant protection.

ProtectionTime = 1.0f Protection time for players after they hit trigger_teleport. Anything less than or equal to 0 will automatically set it back to 1.0.

RemoveProtectionOnWeaponFire = true Instantly removes protection when player fires his weapon.

TeleportProtectionMessage = [{{lightred}}SpawnProtection{{default}}] You are protected for {{green}}{{Delay}}{{default}} second(s)! Message printed for player when player hits trigger_teleport, {Delay} is the ProtectionTime. Blank for no message.

TeleportProtectionRemoveMessage = [{{lightred}}SpawnProtection{{default}}] You are no longer {{green}}protected{{default}} from any damage! Message printed for player when protection has ended. Blank for no message.

Chat colors supported:
{DEFAULT}
{WHITE}
{DARKRED}
{GREEN}
{LIGHTYELLOW}
{LIGHTBLUE}
{OLIVE}
{LIME}
{RED}
{PURPLE}
{GRAY}
{GREY}
{YELLOW}
{GOLD}
{SILVER}
{BLUE}
{DARKBLUE}
{BLUEGREY}
{MAGENTA}
{LIGHTRED}
https://github.com/Cruze03/cs2_teleport ... s/main.zip
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️
Post Reply

Return to β€œScripting CS2”