Thread: KnifeSyphon
View Single Post
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