Raised This Month: $ Target: $400
 0% 

GHW GHR (Grab + Hook + Rope)


Post New Thread Reply   
 
Thread Tools Display Modes
Tsotsi
Member
Join Date: Apr 2008
Old 04-10-2008 , 16:02   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #141

How can i make that when an admin use hook to reset his time?

if he use hook and his time is 30seconds to reset the clock to 0seconds. i saw this on another server

thank you
Tsotsi is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-10-2008 , 16:36   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #142

i think asskicr's KZ plugin has that feature and I'm not sure if teame06's kz plugin has it though. What I'm trying to say is that is the functionality of a kz plugin not of the hook plugin itself.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Tsotsi
Member
Join Date: Apr 2008
Old 04-10-2008 , 17:34   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #143

oh yes...prokreedz_hook i believe or something like this

anyway...there is any changes to make this feature available in GHW? it will be usefull because all players want admins because of hook...but i really care about my top15

or maybe you know a plugin to reset the time when hook is used...doesn't matter i just want to reset that clock

Last edited by Tsotsi; 04-10-2008 at 17:36.
Tsotsi is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-10-2008 , 18:08   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #144

I suspect you are using climbtimer Top15. If this is the case the only way to stop the timer is to either edit that plugin to have it reset the timer. The plugin has no public functions that would reset the timer so another plugin could not turn off the timer (only climbtimer can reset the timer).
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
drohM
Junior Member
Join Date: Apr 2008
Location: Behind your back, lold.
Old 04-26-2008 , 07:09   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #145

Nice plugin, works fantastic.. GJ!
__________________
wazzup banana split?
drohM is offline
shustas
SourceMod Donor
Join Date: May 2007
Location: London
Old 05-03-2008 , 17:24   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #146

OK, one question, while somebody uses +grab on the target, is there any chance to extract targets id with external plugin? Could i use client_command()?

Thanks
__________________
shustas is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 05-03-2008 , 21:16   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #147

The only 2 ways to get those variables would be for your plugin to figure it out on its own or to modify my plugin to have a function that returns the variable states. The first is below:
Code:
#include <amxmodx> #include <amxmisc> new being_grabbed[33] new grabbing[33] new maxplayers public plugin_init() {     register_clcmd("+grab","grab_on")     register_clcmd("-grab","grab_off")     maxplayers = get_maxplayers() } public grab_off(id) {     being_grabbed[grabbing[id]] = 0     grabbing[id] = 0 } public grab_on(id,level,cid) {     if(!grabbing[id])     {         grab_on2(id)     } } public grab_on2(id) {     if(is_user_connected(id))     {         static target, trash         target=0         get_user_aiming(id,target,trash)         if(target && is_user_alive(target) && target!=id)         {             if(target<=maxplayers)             {                 if(is_user_alive(target) && !(get_user_flags(target) & ADMIN_IMMUNITY))                 {                     grabem(id,target)                 }             }         }         else         {             set_task(0.1,"grab_on2",id)         }     } } public grabem(id,target) {     being_grabbed[target] = id     grabbing[id] = target     set_task(1.0,"check_grabbing",id) } public check_grabbing(id) {     callfunc_begin("grab_prethink","GHW_GHR.amxx")     callfunc_push_int(id)     if(callfunc_end()==PLUGIN_HANDLED)         grab_off(id) }
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Demoz123
Member
Join Date: Jul 2008
Location: USA, California, Brea
Old 07-12-2008 , 20:45   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #148

Thanks
Demoz123 is offline
Demoz123
Member
Join Date: Jul 2008
Location: USA, California, Brea
Old 07-12-2008 , 20:45   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #149

I Love It Its wayyy better than the other ones!!!
Demoz123 is offline
Demoz123
Member
Join Date: Jul 2008
Location: USA, California, Brea
Old 07-12-2008 , 21:59   Re: GHW GHR (Grab + Hook + Rope)
Reply With Quote #150

Thank You You Make the most mods i use i use like 4 of your mods!
Demoz123 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode