Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Free Armor On Spawn

Featured Replies

Free Armor On Spawnv1.0.0Counter-Strike 1.6Plugin
0 downloads · 2.6 KB · Updated 3 hours ago
AMX Mod X: 1.10Server engine: ReHLDSNeeds ReAPI: YesMetamod: Metamod-R
Sign in to download
Daemonv1.0.0 First release. · 1 file
/*
 * Spawn Armor (olds.ro workshop card LIB-0301)
 *
 * Every player who spawns gets free armor: one amount for the Terrorists,
 * another for the Counter-Terrorists, a larger amount for players with the
 * "t" access flag, with or without a helmet.
 *
 * Armor is only ever raised. A player who still has more armor (kept from
 * the last round, bought, or given by another plugin such as a deathmatch
 * respawn) keeps it, and a helmet the player already wears is never taken
 * away.
 *
 * Commands: none.
 *
 * Cvars (saved with their descriptions in configs/plugins/olds_spawnarmor.cfg
 * the first time the plugin starts):
 *   olds_sarmor_t         50    Armor for Terrorists at each spawn (0 - 999,
 *                               0 = none).
 *   olds_sarmor_ct        100   Armor for Counter-Terrorists at each spawn
 *                               (0 - 999, 0 = none).
 *   olds_sarmor_helmet    1     1 = give vest and helmet, 0 = vest only.
 *   olds_sarmor_vip       150   Armor for players with access flag "t"
 *                               (0 - 999). They get this amount or their
 *                               team's amount, whichever is larger.
 *                               0 = they get the team amount like everyone.
View olds_spawnarmor.sma →
Install into: cstrike/
1.0.0 12/4/2026
First release.
v1.0.012/4/2026 · 2.6 KB · 0 downloads
  • Administrator

Players receive free armor at each spawn, with a different amount per team and a helmet option.

What it does

Hook RG_CBasePlayer_Spawn post: rg_set_user_armor(id, amount, ARMOR_VESTHELM) with amounts olds_sarmor_t 50, olds_sarmor_ct 100. Cvars: olds_sarmor_helmet 1, olds_sarmor_vip 150 for players with flag t, olds_sarmor_skipround 1. Armor is only raised, never lowered if already higher after respawn in deathmatch.

Tested

  • Spawn as T with olds_sarmor_t 50: armor reads 50 on the HUD.
  • Spawn as a flag-t player: armor is olds_sarmor_vip and the helmet icon shows.
  • Respawn with 120 armor from another plugin: armor is not reduced to the cvar value.
  • Set olds_sarmor_helmet 0: only the vest is given and no helmet icon shows.
  • Spawn during round 1 with olds_sarmor_skipround 1: no armor is given.

Install

Download the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini.

Files: addons/amxmodx/scripting/olds_spawnarmor.sma

License: GPL-3.0-or-later.
Written for the olds.ro plugin workshop (LIB-0301), by alexit, reviewed by alexit and checked by the automated Claude review.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.