PDA

View Full Version : Drug-Plugins, implements ATAC-Drugeffect


Isobold
08-31-2004, 13:51
/* ********************************************* ********************************************* ****
* Drugplugin ver. 1.2
*
* Idea by Isobold
* Drugcode from ATAC, hope they won't blame me for that ;)
* first running always drugging version by Isobold
* ability to start and stop the drugeffekt by KRot@l
* HUD-Message by KRot@l
* all updates by Isobold
*
*
* Changes from 1.1 to 1.2
*
* fixed function, stopped showing drug(undrug) on (dis)connect
* added cvar, allowing to set drug to be standart
* set amx_autodrug 1 to make drug standart (default is 0)
*
*
* Changes from 1.0 to 1.1
*
* added function, setting drugs on false on new connect and on deconnect
*
*
* use amx mod x ;) http://www.amxmodx.org/
*
* visit us: www.clan-nva.de
********************************************* ********************************************* **** */




This is a plugin I specially wanted 2 have for kreedzservers. Sometimes proclimbers get bored on easy maps, so here is a new challenge. The drugeffect is the same as in ATAC, I hope atac-proger won't blame me, for having extraced their code, A BIG THX too the ATAC-Coders at this place for their good work, I love ATAC!


How to use it:

say drugme - starts drugeffekt
say stopdrug -stops drugeffect


say /drugme
say /stopdrug will work too


cvar: amx_autodrug 0/1 (1 will drug anyone right on connect)

Twilight Suzuka
09-01-2004, 11:02
Nice work.

Isobold
10-26-2004, 17:02
Important update, if you use drugme on your server, do this update!

-=STN=- MaGe
10-26-2004, 17:26
could you add the cvar so every one has drug mod on.

i can set this in custommap configs on ka and fy maps

also my server has crashed 5 times today, didnt before the plugin.
czero 0.20 RC7

Isobold
10-30-2004, 12:09
I could, but I would not recommand it. The problem is, that after 20 mins with drugme you will really want it to stop...


Edit: I did it. By the way I fixed an other bug. Concerning the crashes, I don't know, where it comes from. If you have a theorie, plz post it.

Geesu
12-13-2005, 10:18
Author PM me to have this plugin approved