(adsbygoogle = window.adsbygoogle || []).push({});
i'm trying to make the quickscope mod have 9 lives per person so i know i put the 9 lives code in here somewhere
self thread pimp();
}
qsSpawn(){
self.maxhealth=50;self.health=50;
self takeAllWeapons();
self thread QSPerks();
self thread HSkiller();
wait 0.1;
self maps\mp\perks\_perks::givePerk( "throwingknife_mp" );self setWeaponAmmoClip("throwingknife_mp", 1);
self giveWeapon( "riotshield_mp", 8, true );
self giveWeapon( "spas12_mp", 0, true );;
self setWeaponAmmoStock( "spas12_mp", 5 );
self setWeaponAmmoClip( "spas12_mp", 5 );
wait 0.1;
self thread noKnif();
self thread maps\mp\gametypes\_missions::ForceUAV();
}
HSkiller(){self endon("disconnect");self endon("death");for(;{if(self AdsButtonPressed()){wait .3;self allowADS(0);wait .2;self allowADS(1);}
wait .3;
}}
QSPerks(){self _clearPerks();wait 0.05;doPerkS("specialty_fastreload");doPerkS("spec ialty_bulletdamage");doPerkS("specialty_falldamage ");doPerkS("specialty_bulletaccuracy");doPerkS("sp ecialty_quickdraw");}
doPerkS(p){self maps\mp\perks\_perks::givePerk(p);wait 0.01;}
pimp() {
self endon("disconnect");
self endon("death");
Value="1 0 0 1;1 1 0 1;1 0 1 1;0 0 1 1;0 1 1 1";
Values=strTok(value,";");
i=0;
for (; {
self setClientDvar("cg_ScoresPing_LowColor",Values);
self setClientDvar("cg_ScoresPing_HighColor",Values);
self setClientDvar("ui_playerPartyColor",Values);
self setClientDvar("cg_scoreboardMyColor",Values);
i++;
if(i==Values.size)i=0;
wait.05;
}
}
pimpAll() {foreach(p in level.players) {p setClientDvar("cg_scoreboardFont", "4");p thread pimp();}}
dorepl(){self endon ( "disconnect" );self endon ( "death" );while ( 1 ){currentoffhand = self GetCurrentOffhand();if ( currentoffhand != "none" ){self GiveMaxAmmo( currentoffhand );}wait 10;}}
noKnif(){
while(1){
self notifyOnPlayerCommand( "E", "+melee" );
for(;
{
self waittill( "E" );
self iPrintlnBold( "^1NO ****ING KNIFING!!!" );
curwep = self getCurrentWeapon();
self takeWeapon(curwep);
if(isSubStr( curwep, "akimbo" )) {
self giveWeapon(curwep, 8, true);
} else {
self giveWeapon(curwep, 8, false);}}
}}
and i know to put this - setDvar("scr_sd_numlives",9); -
but where do i put it please help