I could have placed this under scripting support, but think it'd sit better here because I think people would sooner just make a fix themselves rather than tell me how to do it.
You might know a few plugins like "Silly C4" or "Wall Jump" that give players new abilities without having to use any special commands. I myself have several types of these plugins, these are:
-Revival Kit (Unapproved though working fine)
-Silly c4, like said above
-Wall Jump, one of my faves =]
-Juicy Corpse by VEN
Now what I want, or want to know (either will do), is to have access restrictions on these abilities, AND PREFERABLY cvar controlled...
So eg. I can set these 4 plugins for admin use only, but in a certain map (for example scoutzknivez), I can change the cvar of wall jump to it's for public use.
Now my request is to have that added to all 4, with an optional cvar of admin only. (if not possible just making it admin only will do, I'll just change the flag part if need be and recompile)
But my question is, how do I do this myself? I'm not actually a scripter so if it's a less than standard process with plugins like these - never mind, but I'm open to learn. (and this would mean I wouldn't have to bother the AMXX community again for it)
---
I tried peeking at the Multi Jump plugin for reference, but me not being a coder just saw a whole lot of different code in each plugin, with the only similarity being that none of them use a custom command, which would make it easy to change restriction.
I've zipped up mentioned 4 plugins as well as multi jump (though you can get any from the Approved forums and Revival Kit from Unapproved forums) just in case.
(and yes, pos. karma to the person[s] to help me out)
If and where possible, 1 pos. karma for each done plugin.
PS. If you don't know yet:
-With revival kit you can revive teammembers by aiming at their bodies and holding USE key
-With juicy corpse you can use the same method to feed life-energy off bodies
-Wall jump is quite obvious, an almost matrix-style kickback off a wall while you hold JUMP
-Silly c4 allows planting while moving and vertically, same with defusing.
EDIT: I forgot about one! A cool plugin by AssKicr (did I spell that right? I usually do it wrong), called The Stealth Bag.
Buy nightvision and it gets you pliers and some oil, if you then hold USE near eg. grating it will be silently removed, and if you
hold USE near a squeeky door it won't make sound anymore. (effects happen once progress bar fills up)
Please count this plugin as part of above request!
__________________
Mod:
User:
Last edited by BlackMilk; 09-12-2007 at 12:48.
|