malyczolg
26th February 2013, 16:59
hello i create dubble points why notwork ?
on callback_playerconnect()
if(!isDefined(self.czolgu)) self.czolgu = false;
callback_playerkilled
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.czolgu == true)
{
attacker thread maps\mp\gametypes\_plusscore::plusscore(150);
attacker.plusscore+=150;
attacker.scoretoshow=150;
attacker drczolg\dubble::bash();
attacker.lol++;
attacker.lol++;
}
ON SHOP :
if(response == "dubble")
{
if(self.money >= 1750)
{
self.spent+=1750;
self iprintlnbold("^2. ^7Yo^9u ^7Bou^9ght ^7Dub^9ble ^7Poi^9nts");
self.czolgu = true;
}
if(self.money < 1750)
{
self iprintlnbold("^2. ^7Yo^9u ^7d^9o ^7no^9t ^7ha^9ve ^7eno^9ugh ^7mon^9ey ^2`");
}
}
on callback_playerconnect()
if(!isDefined(self.czolgu)) self.czolgu = false;
callback_playerkilled
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.czolgu == true)
{
attacker thread maps\mp\gametypes\_plusscore::plusscore(150);
attacker.plusscore+=150;
attacker.scoretoshow=150;
attacker drczolg\dubble::bash();
attacker.lol++;
attacker.lol++;
}
ON SHOP :
if(response == "dubble")
{
if(self.money >= 1750)
{
self.spent+=1750;
self iprintlnbold("^2. ^7Yo^9u ^7Bou^9ght ^7Dub^9ble ^7Poi^9nts");
self.czolgu = true;
}
if(self.money < 1750)
{
self iprintlnbold("^2. ^7Yo^9u ^7d^9o ^7no^9t ^7ha^9ve ^7eno^9ugh ^7mon^9ey ^2`");
}
}