Raised This Month: $ Target: $400
 0% 

KnifeSyphon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
FlyingMongoose
Veteran Member
Join Date: Mar 2004
Old 08-13-2007 , 23:52   Re: KnifeSyphon
Reply With Quote #2

To make this plugin more universal throw this into it instead of CCSPlayer::m_iHealth:

Code:
stock SetClientHealth(client, amount) {     new HPOffs = FindDataMapOffs(client,"m_iHealth");     SetEntData(client,HPOffs,amount,true); }

Most mods use the word "knife" for their knife identification and usually identifying the weapon only requires part of the name, so "knife" will suffice throughout most mods including dods, and css
__________________
Please do NOT PM for support.

Only ask for support in plugin threads.

TunedChaos.com - Precision Tuned Game Servers
FlyingMongoose 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 07:24.


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