This plugin works for all mods, but is made for The Specialist.
With this plugin you can make taking people hostage more "official". I made this because in the TSRP (The Specialist Role Playing) server that I play in people just private message and say "Hey wanna be my hostage?"
v0.3b
Ill just list everything:
CVARS:
hostage_distance_start - How close you have to be to take the other person hostage. Default 200
hostage_distance_max - The distance that the hostage is aloud to walk away from you without escaping. Default 800
hostage_interval - The time in seconds aloud between hostage situations (must have a .0 on the end). Default 1800.0 (1/2 hr)
hostage_distance_save - How close you have to be to save the hostage. Default 50 (Right next to them pretty much:
COMMANDS:
amx_takehostage - Look at the person you would like to take hostage and say amx_takehostage in console or bind a key to it
amx_savehostage - Look at the person you would like to save and say amx_savehostage in console or bind a key to it.
FIXES/ADDITIONS:
- When you escape from being hostage or the hostage taker is killed, you dont get stuck.
- amx_savehostage
Code:
Commands:
amx_takehostage <name of hostage> - Sends a menu to the hostagee if they would like to be your hostage. If they decline it lets the hostage taker know that he can shoot them without being a DMer (DeathMatcher).
Cvars:
hostage_distance_start - The distance at which the hostage take has to be to to the hostagee for the situation to start (default 200 units).
hostage_distance_max - The radius around the hostage taker that the hostagee can roam before he has "run away" from the hostage taker.
Update:
Command is now amx_takehostage
Alway said that someone else had already taken a hostage - Fixed
Next Update:
Cant take yourself hostage
Fixed: Cant take yourself hostage
The Specialist has no changing model function GRR
v0.2b
- Fixed allot of things that arent significant
- New CVAR: hostage_interval - Time in seconds between each hostage situation. After all, the mcpd do need a break (default 1800.0 - 1/2) NOTE: MUST HAVE .0 ON THE END!!!
- Take Hostage by bind a key to amx_takehostage and looking at the player.
Need tsxaddons.inc to compile - Wont compile on the web compiler.
HostageMod
- Archive-Poster
- Posts: 1189
- Gender:

HostageMod
- Attachments
-
- HostageMod.sma
- (7.54 KiB) Not downloaded yet
Who is online
Users browsing this forum: No registered users and 1 guest