Raised This Month: $ Target: $400
 0% 

Please help code dosent works


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 07-05-2014 , 16:17   Re: Please help code dosent works
Reply With Quote #4

Quote:
Originally Posted by xDoctor View Post
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 View Post
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
(iPlayersiNum"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 View Post
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
mottzi is offline
Send a message via MSN to mottzi
 



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:14.


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