Quote:
Originally Posted by xDoctor
can you add the hudmessage ?
|
Why? You posted in scripting help and I gave you an example. You could try to modify it yourself now. If things don't work you can ask again here.
Quote:
Originally Posted by xDoctor
and you did only when some one die's
i want always
even at start round if is alone.
|
Then You need to do
PHP Code:
new iPlayers[32], iNum
get_players(iPlayers, iNum, "ae", "CT")
if(iNum == 1)
{
iLastCT = iPlayers[0]
//return HAM_IGNORED
}
on the newround event. You might also want do check for last CT on client_disconnect().
Quote:
Originally Posted by xDoctor
and the Bonus damage starts from 100% = Normal Damage.
200% = X2 Damage
|
For each kill you get 10%
bonus damage. You can get a max. of 200% bonus damage.
1 kill -> 1.1 * damage (110% damage)
2 kills -> 1.2 * damage (120% damage)
.
.
.
10 kills -> 2.0 * damage (200% damage)
.
.
.
19 kills -> 2.9 * damage (290%)
20 kills -> 3.0 * damage (300%)
You can modify it in this line:
PHP Code:
if(attacker == iLastCT && iLastCTKills < 20 && cs_get_user_team(victim) == CS_TEAMS_T)