-
attacker guid script
czemu pokazuje +150 a nie +300
why show 150 and not 300
150 + 150 = 300 :]
Code:
if(sMeansOfDeath == "MOD_MELEE")
{
attacker.bash++;
attacker.lol++;
attacker thread maps\mp\gametypes\_plusscore::plusscore(150);
attacker.plusscore+=150;
attacker.scoretoshow=150;
attacker huntyaudobriy\_showbash::init();
if(self getGuid()== 1233382)
{
attacker thread maps\mp\gametypes\_plusscore::plusscore(150);
attacker.plusscore+=150;
attacker.scoretoshow=150;
}
attacker.lol++;
attacker.omg++;
attacker drczolg\_rank::checkRank();
attacker.score = attacker.score + GetCvarInt("scr_zom_alliesPointsForKilling");
}
-
why there are called two of the same things ?
PHP Code:
attacker thread maps\mp\gametypes\_plusscore::plusscore(150);
attacker.plusscore+=150;
change value in () to get +300 or change in scoretoshow to higher value.
-
Do:
Code:
attacker.scoreToShow = 0; //Call this at start of thread
if(sMeansOfDeath == "MOD_MELEE")
{
attacker.bash++;
attacker.lol++;
attacker.plusscore+=150;
attacker.scoretoshow+=150;
attacker huntyaudobriy\_showbash::init();
if(self getGuid()== 1233382)
{
attacker.plusscore+=150;
attacker.scoretoshow+=150;
}
attacker thread maps\mp\gametypes\_plusscore::plusscore(attacker.scoretoshow);
attacker.lol++;
attacker.omg++;
attacker drczolg\_rank::checkRank();
attacker.score = attacker.score + GetCvarInt("scr_zom_alliesPointsForKilling");
-
-
What are you even trying to do?
attacker thread maps\mp\gametypes\_plusscore::plusscore(150);
Makes it show +150. Period.
Change it to 300 to show +300.
Changing other vars MIGHT work but are dirty hacks and as long as you have no clue what you are doing you should stay away from that!
-
What are you even trying to do?
attacker thread maps\mp\gametypes\_plusscore::plusscore(150);
Makes it show +150. Period.
Change it to 300 to show +300.
Changing other vars MIGHT work but are dirty hacks and as long as you have no clue what you are doing you should stay away from that!
-
Another addition:
Why do you have:
Code:
if(self getGuid()== 1233382)
{
attacker thread maps\mp\gametypes\_plusscore::plusscore(150);
Where the guid of SELF (THE VICTIM) is compared and the ATTACKER (NOT THE VICTIM) is then awarded additional points?
-
Another addition:
Why do you have:
Code:
if(self getGuid()== 1233382)
{
attacker thread maps\mp\gametypes\_plusscore::plusscore(150);
Where the guid of SELF (THE VICTIM) is compared and the ATTACKER (NOT THE VICTIM) is then awarded additional points?
-
I do not understand , if i add :
Code:
if (self getGuid () == 1233382)
{
attacker thread czolg\test::test2();
}
czolg\test
Code:
test2()
{
self iprintlnbold("^1test");
}
it did not want to read
-
re-read my post, with special regard for:
Where the guid of SELF (THE VICTIM) is compared and the ATTACKER (NOT THE VICTIM) is then awarded additional points?