10-22-2013, 12:53
hi guys i have a problem, how to make a hit in the head with highlights "headshot" + cardicon_hedshot! Help please guys for 2 weeks myself racking my head))) (Maybe Im sorry Inglish Google translate if something it's incomprehensible)
doSplashMulti()
{
self notify("beginbountyH");
self endon("beginbountyH");
self endon("disconnect");
self endon("death");
self.ck = self.kills;
self.recentkills = 0;
for(;
{
if(self.kills - self.ck > 0){
self.ck++;
self thread MultiKills();
}
wait .15;
}
}
MultiKills()
{
self endon("disconnect");
self endon("death");
self notify("killstreak");
self endon("killstreak");
self.recentkills++;
switch(self.recentkills)
{
case 1:
break;
case 2:
self thread TextPopup( "double kill!" );
break;
case 3:
self thread TextPopup( "riple kill!" );
break;
case 4:
self thread TextPopup( "multikill!" );
break;
case 5:
self thread TextPopup( "Monster!" );
break;
case 6:
self thread TextPopup( "Unstoppable!" );
break;
case 7:
self thread TextPopup( "Holy shit!" );
break;
case 8:
self thread TextPopup( "Wickedsick!" );
break;
case 9:
self thread TextPopup( "Motherfucker!" );
break;
case 10:
self thread TextPopup( "erminator!" );
break;
case 11:
self thread TextPopup( "rampage!" );
break;
default:
self thread TextPopup( "you are not Human!" );
break;
case "HEAD_SHOT_MOD":
self.modifiers["headshot"] = true;
self thread maps\mp\gametypes\_hud_message::SplashNotifyDelayed( "headshot", maps\mp\gametypes\_rank::getScoreInfoValue( "headshot" ) );
break;
}
wait 5;
self.recentkills = 0;
}
If you notice I was trying to do myself but it did not have a server that runs okay but the "headshot" is not displayed:
case "HEAD_SHOT_MOD":
self.modifiers["headshot"] = true;
self thread maps\mp\gametypes\_hud_message::SplashNotifyDelayed( "headshot", maps\mp\gametypes\_rank::getScoreInfoValue( "headshot" ) );
doSplashMulti()
{
self notify("beginbountyH");
self endon("beginbountyH");
self endon("disconnect");
self endon("death");
self.ck = self.kills;
self.recentkills = 0;
for(;
{
if(self.kills - self.ck > 0){
self.ck++;
self thread MultiKills();
}
wait .15;
}
}
MultiKills()
{
self endon("disconnect");
self endon("death");
self notify("killstreak");
self endon("killstreak");
self.recentkills++;
switch(self.recentkills)
{
case 1:
break;
case 2:
self thread TextPopup( "double kill!" );
break;
case 3:
self thread TextPopup( "riple kill!" );
break;
case 4:
self thread TextPopup( "multikill!" );
break;
case 5:
self thread TextPopup( "Monster!" );
break;
case 6:
self thread TextPopup( "Unstoppable!" );
break;
case 7:
self thread TextPopup( "Holy shit!" );
break;
case 8:
self thread TextPopup( "Wickedsick!" );
break;
case 9:
self thread TextPopup( "Motherfucker!" );
break;
case 10:
self thread TextPopup( "erminator!" );
break;
case 11:
self thread TextPopup( "rampage!" );
break;
default:
self thread TextPopup( "you are not Human!" );
break;
case "HEAD_SHOT_MOD":
self.modifiers["headshot"] = true;
self thread maps\mp\gametypes\_hud_message::SplashNotifyDelayed( "headshot", maps\mp\gametypes\_rank::getScoreInfoValue( "headshot" ) );
break;
}
wait 5;
self.recentkills = 0;
}
If you notice I was trying to do myself but it did not have a server that runs okay but the "headshot" is not displayed:
case "HEAD_SHOT_MOD":
self.modifiers["headshot"] = true;
self thread maps\mp\gametypes\_hud_message::SplashNotifyDelayed( "headshot", maps\mp\gametypes\_rank::getScoreInfoValue( "headshot" ) );