JailMod++
3 Attachment(s)
I've grabbed the Idea of MyStIcSsJgOkU4 @ http://forums.alliedmods.net/showthread.php?t=16031 and wrote my own version of this script (from scratch) which has a bit more functionality than the original one.
There's the following CVars: Code:
amx_jail_time Code:
amx_jail <name> [<-1|0|time>] [<jail #>] The default admin level is ADMIN_SLAY but can be changed by changing a #define in the sma. This one adminlevel is used for ALL commands. This script is only tested on CS but should work on other mods as well. Requirements: - Amxx (how come :P) - fun module for godmode & noclip THX to: MyStIcSsJgOkU4 for the basic idea f117bomb & T(+)rget for amx_atac 5.2.3 from where I leadned how to strip weapons Parts of the Idea, Coding & Testing by MistaGee Enjoy! Greetz MGee |
Nice, this one is well written. :)
Good job. |
Don't seem works for dod or i forgot something :/
Quote:
|
Quote:
Quote:
I used this event to determine round end, as cstrike seends the sounds "(Counter) Terrorists win". How is that round end notified in dod? If anyone knows that, change the sma to recognize round end correctly and everything should work then, I'd do it if I knew how :P Greetz MGee |
Damn dude nice job, I wish I could say i did this lol :D
Do you think you could also tell me how I would add the functionality for checking what map it is, and then reading from the file for the correct coordinates like yours does. It would be great if I could add this into mine for my server :-D |
Quote:
Quote:
if you have a closer look at the functions readjail() and writejail(), you'll see how I did that... just read the config file line by line, search for a map name and if you found the right one, parse the coordinates which are located in the following lines. you basically have to keep all the functions dynamic so the jail the users are sent to can vary, that's it. you hardcoded the origins in your script and used different functions for the jails, that is what I avoided. Greetz MGee |
How is this plugin diffrent from all the other jailmod plugins?
|
Quote:
I think the one plus of mine is the config file for the origins... Greetz MGee |
well written :) and fun to do to people sometimes
|
Re: JailMod++
Three things, One in TS when you hit any button on the menu it will just exit out Two also in ts it doesnt detect any jails and I forgot three ...
|
All times are GMT -4. The time now is 10:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.