Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Hostage Creator

Featured Replies

  • Administrator

Admins can place extra hostages on a map for modes or maps that lack them, and save positions so they appear every round.

Hostage Creator (olds.ro workshop card LIB-0863) Copyright (C) 2026 daemon (olds.ro). GPL-3.0-or-later.

Admins place extra hostages on maps or modes that lack them. Positions are saved per map in configs/hostages/<map>.ini (x y z yaw per line) and the hostages appear every round.

Commands (flag ADMIN_CFG; others are denied):

  amx_hostadd [x y z]   an extra hostage at your feet, facing your way
                        (from the server console: give x y z)
  amx_hostdel [number]  removes the nearest extra hostage (within 300 units),
                        or the given number
  amx_hostlist          lists them and marks each saved spot for you with a
                        green beam (sprites/laserbeam.spr) for 10 seconds
Each change is saved at once. More than olds_hostmake_max extra hostages
(default 4, at most 16) are refused.

The hostages are hostage_entity made with rg_create_entity, with the stock models models/hostage.mdl and models/scientist.mdl in turn. (The stock models/hostage01.mdl to hostage04.mdl are not models of their own: they hold the animations of hostage.mdl, and the engine stops with a fatal error if it is asked to load one as a model.) At every round start (RG_CSGameRules_RestartRound) a missing one is made again; the game itself puts the existing ones back on their spots and revives them. Only the map's own hostages are left alone: this plugin touches only the ones it made. On maps without a rescue zone the game rescues hostages at the CT spawn.

Install: compile scripting/olds_hostmake.sma with amxxpc 1.10 and add olds_hostmake.amxx to plugins.ini. Needs ReAPI, fakemeta and hamsandwich. No downloads: the models, the hostage sounds and the sprite are stock.

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_hostmake.sma, test/host_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 (LIB-0863).

Hostage Creator
v1.0.0Counter-Strike 1.6PluginNot tested yet
AMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads4.3 KBUpdated 6 hours ago
Sign in to download
Pawn (AMX Mod X) · 315 lines
/*
 * Hostage Creator (olds.ro workshop card LIB-0863)
 * Copyright (C) 2026 daemon (olds.ro)
 *
 * This program is free software: you can redistribute it and/or modify it under the terms
 * of the GNU General Public License as published by the Free Software Foundation, either
 * version 3 of the License, or (at your option) any later version.
Show all 315 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.