Quote:
Originally Posted by pRED* | NZ
Have a look through the tutorials sections.
There is tutorials on all the popular saving methods.
nvault - easy as to use..
sql - can support massives numbers
file writing - harder to set up that nvault but more customisable.
The flashlight is an impulse command..
http://www.amxmodx.org/funcwiki.php?go=func&id=462
you can use that to detect when people press the flashlight button and then block it.
Theres plenty of plugins that revive people. Try searching for revival kit by Cheap_suit for a good code example..
|
I don't mean to sound rude, but none of that is really useful. I have searched the tutorials forum plenty of times and there isn't a single example of how to setup a system that this plugin would require (there aren't really any good xp/saving tutorials in general. XunTric's is ok, but has quite a few problems). I need it to basically save like the WC3 plugins for CT side and then have a different system for T side.
As far as the revive ability goes, I guess I could just use something similar to cheap_suit's plugin, but that's not really the approach I had in mind.
And yes, I know that impulse 100 (client side) = flashlight, but I was wondering if there is a way of turning off all light entities/effects globally and possibly team specific. For a simple workaround, I could just set mp_flashlight to 0, force the client to try and turn on the flashlight (this will force it to turn off if previously on, otherwise won't do anything) and then reset mp_flashlight after a given amount of time, but once again that's not really the way I had intended it to work.
Thanks for at least responding though. Any help coding would be greatly appreciated if you have the spare time!