This sounds like some sort of joke l0l
No errors here with SetClientHealth (and you did NOT say you had tried it before.), no errors with the function revan describes either.
Here's a
direct copy-pasted version of the natives defined within War3Source_Interface.inc (latest, fresh off of the SVN)
/**
* heals with the limit of (warcraft ) max hp
* @noreturn
*/
native War3_HealToMaxHP(client,addhp);
/**
* heals with the limit of your specified HP
* @noreturn
*/
stock War3HealToHP(client,addhp,maximumHP){
new currenthp=GetClientHealth(client);
new newhp=currenthp+addhp;
if(newhp>maximumHP){
newhp=maximumHP;
}
SetEntityHealth(client,newhp)
}
/**
* heals to max hp * 1.5 buff in tf2
* no extra hp in other games
* @noreturn
*/
native War3_HealToBuffHP(client,addhp);
Copy, paste & edit? I have the latest version, I get this
/**
* heals with the limit of (warcraft ) max hp
* @noreturn
*/
native War3_HealToMaxHP(client,addhp);
/**
* heals to max hp * 1.5 buff in tf2
* no extra hp in other games
* @noreturn
*/
native War3_HealToBuffHP(client,addhp);
Just fyi, I downloaded all the w3s/sourcemod only the day before I posted about this issue. Server doesn't even say I have an out of date version.
Latest off ownage clan site, War3SourceP1.2.3.6.rar the war3source_interface files doesn't have that command.