Raised This Month: $12 Target: $400
 3% 

SDK Hooks 2.1 - Updated 2011-9-10


Post New Thread Closed Thread   
 
Thread Tools Display Modes
joshtrav
Senior Member
Join Date: Sep 2009
Old 06-17-2010 , 03:11   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#641

Quote:
Originally Posted by DJ Tsunami View Post
autobuy and rebuy are also commands, so just hook them too. Their descriptions tell you that they read out cl_autobuy and cl_rebuy instead of being passed arguments.
I tried this via RegConsoleCmd and it does not pass any args nor fire the public action call for autobuy/rebuy for me. Is there another method to hook them DJ Tsunami? I am sorry I am a bit new to extensions and SM overall in the scope of player alteration other than models.

As per my post in the donor thread, I will quote my issue here to give more context to what I am asking for:
Quote:
I am doing that currently with weaponcanswitchto via SDK Hooks. The issue I am running into is:

Player A joins.

I restrict Player A to only m4a1.

He can only buy a m4a1, however, should he use rebuy or autobuy it will buy him a glock/usp as well, drop it on the ground, and charge him.

This is where I want to find out either who owns the dropped gun and remove it/return their money, or the very much more liked idea of just stopping the event of autobuy/rebuy completely if anything other than m4a1 is in it..

m4a1 is just a practical example, so just think of it in context and not in the general idea that I just want all m4a1s. Heh.
joshtrav is offline
joshtrav
Senior Member
Join Date: Sep 2009
Old 06-17-2010 , 04:38   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#642

Here is a link to the thread that we were discussing this in this evening DJ Tsunami.

We tried several things to make it work, getting the owner of the weapon in an effort to destroy it and return the money but did not meet with any success. If you can find a way around this it would be greatly appreciated!

http://forums.alliedmods.net/showthread.php?t=129796
joshtrav is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 06-17-2010 , 08:29   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#643

So again I find myself asking :"Why is it scriptwriters assume everyone understands"

What is this good for? yes I am a nub. I know I have HACKS installed, I have sdktools installed. Is this an updated, easyer plug? and if so do I/should I unload anything that this will replace? If so what should be removed?

I find the only way I am going to improve to be able to help myself is just ton ask.

cheers
sinblaster is offline
psychonic

BAFFLED
Join Date: May 2008
Old 06-17-2010 , 08:39   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#644

Quote:
Originally Posted by sinblaster View Post
So again I find myself asking :"Why is it scriptwriters assume everyone understands"

What is this good for? yes I am a nub.
If you're not a 'scriptwriter', it's not 'good for' anything unless except for uploading to your server if you run a plugin that says it requires it.

easy as that
psychonic is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 06-17-2010 , 08:59   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#645

Quote:
Originally Posted by psychonic View Post
If you're not a 'scriptwriter', it's not 'good for' anything unless except for uploading to your server if you run a plugin that says it requires it.

easy as that
perfect thanks friend I appreciate that. Cheers
sinblaster is offline
MarshalZCC
Senior Member
Join Date: Feb 2010
Location: Alberta, Canada
Old 06-17-2010 , 21:33   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#646

Any update on changing the damage when hooking damage with L4D2? It was reported a couple weeks back that it wasn't working... I'm guessing no one is looking into it though? If not, that's fine. Just curious.
MarshalZCC is offline
dataviruset
AlliedModders Donor
Join Date: Feb 2009
Location: Hong Kong
Old 06-23-2010 , 19:48   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#647

Is anyone going to update the gamedata files to get SDK Hooks to work with the new updated Counter-Strike: Source (Orange Box-engine)? Is it possible to do it myself?
Thanks!
dataviruset is offline
psychonic

BAFFLED
Join Date: May 2008
Old 06-23-2010 , 19:57   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#648

Quote:
Originally Posted by dataviruset View Post
Is anyone going to update the gamedata files to get SDK Hooks to work with the new updated Counter-Strike: Source (Orange Box-engine)? Is it possible to do it myself?
Thanks!
It was updated a while ago.

Download the package that says it is for css beta.
psychonic is offline
dataviruset
AlliedModders Donor
Join Date: Feb 2009
Location: Hong Kong
Old 06-23-2010 , 19:59   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#649

Oh, I see it now.
Thanks for the help
dataviruset is offline
murpher
Member
Join Date: Jul 2006
Location: California
Old 06-24-2010 , 02:33   Re: [EXTENSION] SDK Hooks 1.3 (Updated 2010-05-12)
#650

Can't get this to work on a windows server :X
murpher is offline
Closed Thread



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 23:49.


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