AFK Bomb Transfer v0.4

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

AFK Bomb Transfer v0.4

Post by greenie »

AFK Bomb Transfer
Description
Plugin allow transfer bomb from AFK terrorist to closest non-AFK teammate.
Plugin will have no effect:
- at the freezetime
- if bomb is planting
- on non-bomb maps (comment #define BOMB_MAP_CHECK to suppress)
Modules
fakemeta
CVARs
afk_bombtransfer_spawn (N: seconds, default: 7) - max. allowed bomb carrier AFK time
affects on spawned AFK bomb carrier which never moved after spawn
afk_bombtransfer_time (N: seconds, default: 15) - max. allowed bomb carrier AFK time
affects on any AFK bomb carrier except one which obey previous CVAR
HUD Messages
Terrorist team (green color)
Bomb transferred to "NEW_CARRIER_NAME"
since "AFK_CARRIER_NAME" is AFK
New bomb carrier (yellow color)
You got the bomb!
Note: by defult message display time is 7 seconds (define MSG_TIME)
Versions
0.4
backpack transfer method greatly improved
added pcvar natives support (backward compatibility saved)
few code optimization
0.3
now fakemeta instead of engine required (efficiency++ if engine is disabled)
"non-bomb map" check can be disabled (//#define BOMB_MAP_CHECK)
backpack finding method improved
few code optimization
added comments to the plugin source code
0.2
fixed format issue
code optimized
description improved
0.1
first release

plugin
source
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

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

Return to β€œGameplay”