Ultimate Jail Mod v1.1
2 Attachment(s)
Ultimate Jail Mod
Description This plugin is designed to phase out the older jailmods that were static and poorly coded. It includes many new features, and origins are loaded dynamically. As I get more origins for jails, I will add them to the zip here. If you make any origin files, please PM them to me or post them here. Like other jail mods, you must have HarbuRP installed. Unlike other jail mods, however, there is a change in the way it operates. If a person leaves a jail, they are not classified as free. There is an option in the menu called "Free Target Player", which will free a player being looked at. If amx_jail_reconnect is 0 and the user reconnects, or amx_jail_death is 1 and the user dies, they will also be freed. This can be evaded however - setting amx_jail_mode to 1 (the default) will make the plugin operate like the regular Harbu jailmod. Installation This plugin is file based. The files for maps go in "addons/amxmodx/configs/jailmod/<mapname>.ini". For example, iburgcity_b3v6 would be "addons/amxmodx/configs/jailmod/iburgcity_b3v6.ini". Note that it is dynamic - if you change the directory of addons/amxmodx/configs, the plugin will dynamically search for that. There is an example of the syntax for the files inside the "jailmod_origins.zip" file. You can have a maximum of 20 jails for each map - if you need more, you can open the .sma, change MAX_JAILS to something higher, then recompile. The SQL connection piggybacks off the Harbu settings (economy_mysql_x). Note that this plugin also requires SQLx (which can be used prior to 1.70, but you will have to download the module). If you are not using auto-loading, Engine is required (which Harbu does anyway, so I don't know why that would be a problem). Commands jailmodmenu - opens the menu of jails Cvars: amx_jail_table - the table that jailed users should be stored in (will be created dynamically if it doesn't exist) amx_jail_reconnect - if 1, when a jailed user reconnects, they will be sent back to jail amx_jail_death - if 1, when a jailed user dies, they will not be teleported back into jail amx_jail_mode - if 1, will act the same way as Harbu jail mod (users that die close to jail will be put back into it, use amx_jail_distance to adjust), if 2, jail mod will throw user back in jail regardless of distance, if 0, jailmod will be disabled entirely amx_jail_distance - the distance in units between how far the user must be from the jail position in order to be spawned back into it (default 50) |
Re: Ultimate Jail Mod v1.0
sexy.
|
Re: Ultimate Jail Mod v1.0
I like it +karma
|
Re: Ultimate Jail Mod v1.0
/me ignores this thread.
|
Re: Ultimate Jail Mod v1.0
Quote:
|
Re: Ultimate Jail Mod v1.0
I like this & hope it gets approved, nice work Hawk.
|
Re: Ultimate Jail Mod v1.0
I'm sorry, but can you clarify. If this requires HarbuRP then how is it compatible with any mod?
Quote:
I'm guessing you mean if your mod is TS then you need HarbuRP to be able to use this?? |
Re: Ultimate Jail Mod v1.0
Quote:
I've removed mention of being able to use it anywhere and set the modification to TS. |
Re: Ultimate Jail Mod v1.0
http://i101.photobucket.com/albums/m...awkjailmod.jpg
What happens when I try to use the Free Player option in the menu. 1.75 amxmodx My map config files looks like this: Code:
[Cell 1] |
Re: Ultimate Jail Mod v1.0
Not sure why, I'll look into it.
|
All times are GMT -4. The time now is 19:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.