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

[TFC] Hooking functions / Medic problems.


Post New Thread Reply   
 
Thread Tools Display Modes
Shooting King
RAAASENGAN
Join Date: Mar 2012
Location: India
Old 04-24-2015 , 03:42   Re: [TFC] Hooking functions / Medic problems.
Reply With Quote #11

You were so confident with your answer, So i thought there is some other better way. Whatever, Thanks

Last question, how did you get these values ?
Quote:
[1 (blue team)] = "team1_allies" keyvalue
[2 (red team)] = "team2_allies" keyvalue
[3 (yellow team)] = "team3_allies" keyvalue
[4 (green team)] = "team4_allies" keyvalue
__________________
As every time said, don't ever UNDERESTIMATE me.

Donate - Here
Shooting King is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-24-2015 , 04:25   Re: [TFC] Hooking functions / Medic problems.
Reply With Quote #12

Better way? It depends on what you're searching, here you know it's a weapon and it's related to medikit, it took me like few seconds to find the related class, just a matter to scroll down the list or typing a word in search box. This can"t be easier than that lol.

If I remember, I've seen that array was filled in the function which parses entity's keyvalues. You can also see this in TFC FGD file (https://developer.valvesoftware.com/...ss_Classic.fgd) to get the associated color.
__________________
Arkshine is offline
Shooting King
RAAASENGAN
Join Date: Mar 2012
Location: India
Old 04-24-2015 , 05:39   Re: [TFC] Hooking functions / Medic problems.
Reply With Quote #13

Thanks !
__________________
As every time said, don't ever UNDERESTIMATE me.

Donate - Here
Shooting King 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 02:35.


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