Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Spawn Buddy Window

Featured Replies

  • Administrator

Tell players after death whether they spawned near a teammate.

Spawn Buddy Window 1.0.0 (olds.ro)

Deathmatch: when you respawn, the plugin notes once whether a living teammate was near you (within olds_buddy_radius units and, with olds_buddy_trace 1, in line of sight). When you die, your personal recap says whether you had a spawn buddy that life: Spawn buddy this life: yes, a teammate was within 600 units and in sight when you spawned. Only you see it, only after your death, and it is a plain yes or no: no positions, names or distances are ever sent.

Requirements

  • ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI
  • AMX Mod X 1.10.0.5490 or newer (fakemeta)
  • CSDM 2.1 (csdm_main)

Install

  • Compile scripting/olds_buddy.sma and copy olds_buddy.amxx to addons/amxmodx/plugins/, below csdm_main.amxx. The compiler needs ReAPI's include files.
  • Copy data/lang/olds_buddy.txt to addons/amxmodx/data/lang/.

Settings (addons/amxmodx/configs/plugins/olds_buddy.cfg, created on first run)

  olds_buddy_radius 600   distance in units (100-3000)
  olds_buddy_trace 1      1 = the teammate must also be in line of sight
                          (EngFunc_TraceLine eye to eye; walls block it)

Details

  • The check runs in CSDM's respawn callback csdm_PostSpawn(player, fake), after CSDM has placed the player, once per life: a repeated spawn callback or a later team switch changes nothing.
  • Bots count as teammates but never get a recap.

No downloads: chat text only.

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_buddy.sma, test/csdm_stub.sma

Idea: olds.ro workshop library · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)
License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (AMX-036).

Spawn Buddy Window
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads3.1 KBUpdated 10 hours ago
Sign in to download
Pawn (AMX Mod X) · 128 lines
/*
 * Spawn Buddy Window (olds.ro workshop card AMX-036)
 *
 * Deathmatch: when you respawn, the plugin notes once whether a living
 * teammate was near you (within olds_buddy_radius units and, with
 * olds_buddy_trace 1, in line of sight). When you die, your personal recap
 * says whether you had a spawn buddy that life:
Show all 128 lines

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.