Raised This Month: $ Target: $400
 0% 

Wall rechargers, driving vehicle


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 03-15-2013 , 19:08   Wall rechargers, driving vehicle
Reply With Quote #1

I've got two questions:

1) Wall rechargers. These Half-Life health/armor wall rechargers. How do you hook them? I need to know who's using one and how many health/armor did they get by using it.

2) If a player's currently driving a vehicle. I know about hooking Ham_Use, but I need to detect when someone's got killed while driving a vehicle.


Edit for #1: Using Ham_TakeHealth seems to work, although how do I know if a user's using the charger at some time? Is there a Ham hook that get's called when the healing is done or something? Also, what about armor?

Thanks in advance.

Last edited by Backstabnoob; 03-15-2013 at 19:19.
Backstabnoob is offline
 



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 21:47.


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