CS Armor Drop (on death)

Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 4444
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

CS Armor Drop (on death)

Post by greenie »

Title:
CS Armor Drop (on death)

Summary:
When a player dies, if they have armor, they will drop their armor on the ground next to their corpse.
A player can then walk over it and pick it up, letting them get a "percentage" of the armor left behind.
Also, the player will recieve the same armor type as what they picked up.
All armor will be deleted when round ends. Or on specified time (see cvars).

Cvars:
armor_pct - (Default 20%) This is percentage of armor that will be received when its picked up.
armor_max - (Default 100) This is the max amount of armor a user can get from picking up.
armor_min - (Default 15) Minimum armor needed, for player to drop when killed.
armor_removetime - (Default 2min) Time before armor is removed from map (unless round ends).


Requires : AMXX 1.60
Modules : Engine, FakeMeta
Tested : Win32 (Linux untested)

Author: OneEyed
Version: 1.1

Thanks to ccnncc99, sXy-Schreck, phear of rice, and Aunt Friggin' Connie, for helping me test and fix this plugin!

- Change Log:
-v1.1
- Fixed to work on AMXX 1.60
- Added "Armor Drop" CVAR for queries to pick up.
#include <amxmodx>
#include <engine>
#include <fakemeta>
plugin
source
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œGeneral Purpose”