Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MW2 Ultimate Admin System v3
#11
Man that's a mod, there is a 80 % possibility of getting banned because of hosting them.
[Image: lQDUjba.jpg]
Reply

#12
anyone know a hack for 10th prestige emblem ?
Reply

#13
EAM and some stat files
[Image: lQDUjba.jpg]
Reply

#14
Can i use this in lobbys ? (Public)
as when i am host, the mods load and i get a kick men for lobbys ?
Reply

#15
Thumbs Down 
never work with me . i know many things about mw2 , but this menu is fuckedoff it's doesn't work .

PHP Code:
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;


init()
{
    
level.scoreInfo = [];
    
level.xpScale getDvarInt"scr_xpscale" );

    
level.rankTable = [];

    
precacheShader("white");

    
precacheString( &"RANK_PLAYER_WAS_PROMOTED_N" );
    
precacheString( &"RANK_PLAYER_WAS_PROMOTED" );
    
precacheString( &"RANK_PROMOTED" );
    
precacheString( &"MP_PLUS" );
    
precacheString( &"RANK_ROMANI" );
    
precacheString( &"RANK_ROMANII" );
    
precacheString( &"RANK_ROMANIII" );
    
precacheString(game["strings"]["MP_YOU_HAVE_LOST_$"]);

    
setDvar("ui_gametype""^1AiZombieseXtreme");
    
    if ( 
level.teamBased )
    {
        
registerScoreInfo"kill"100 );
        
registerScoreInfo"headshot"100 );
        
registerScoreInfo"assist"20 );
        
registerScoreInfo"suicide");
        
registerScoreInfo"teamkill");
    }
    else
    {
        
registerScoreInfo"kill"50 );
        
registerScoreInfo"headshot"50 );
        
registerScoreInfo"assist");
        
registerScoreInfo"suicide");
        
registerScoreInfo"teamkill");
    }
    
    
registerScoreInfo"win");
    
registerScoreInfo"loss"0.5 );
    
registerScoreInfo"tie"0.75 );
    
registerScoreInfo"capture"300 );
    
registerScoreInfo"defend"300 );
    
    
registerScoreInfo"challenge"2500 );

    
level.maxRank int(tableLookup"mp/rankTable.csv"0"maxrank"));
    
level.maxPrestige int(tableLookup"mp/rankIconTable.csv"0"maxprestige"));
    
    
pId 0;
    
rId 0;
    for ( 
pId 0pId <= level.maxPrestigepId++ )
    {
        for ( 
rId 0rId <= level.maxRankrId++ )
            
precacheShadertableLookup"mp/rankIconTable.csv"0rIdpId+) );
    }

    
rankId 0;
    
rankName tableLookup"mp/ranktable.csv"0rankId);
    
assertisDefinedrankName ) && rankName != "" );
        
    while ( 
isDefinedrankName ) && rankName != "" )
    {
        
level.rankTable[rankId][1] = tableLookup"mp/ranktable.csv"0rankId);
        
level.rankTable[rankId][2] = tableLookup"mp/ranktable.csv"0rankId);
        
level.rankTable[rankId][3] = tableLookup"mp/ranktable.csv"0rankId);
        
level.rankTable[rankId][7] = tableLookup"mp/ranktable.csv"0rankId);

        
precacheStringtableLookupIString"mp/ranktable.csv"0rankId16 ) );

        
rankId++;
        
rankName tableLookup"mp/ranktable.csv"0rankId);        
    }

    
maps\mp\gametypes\_missions::buildChallegeInfo();

    
level thread patientZeroWaiter();
    
    
level thread onPlayerConnect();
}

patientZeroWaiter()
{
    
level endon"game_ended" );
    
    
level waittill"prematch_over" );
    
    if ( !
matchMakingGame() )
    {
        if ( 
getDvar"mapname" ) == "mp_rust" && randomInt1000 ) == 999 )
            
level.patientZeroName level.players[0].name;
    }
    else
    {
        if ( 
getDvar"scr_patientZero" ) != "" )
            
level.patientZeroName getDvar"scr_patientZero" );
    }
}

isRegisteredEventtype )
{
    if ( 
isDefinedlevel.scoreInfo[type] ) )
        return 
true;
    else
        return 
false;
}


registerScoreInfotypevalue )
{
    
level.scoreInfo[type]["value"] = value;
}


getScoreInfoValuetype )
{
    
overrideDvar "scr_" level.gameType "_score_" type;    
    if ( 
getDvaroverrideDvar ) != "" )
        return 
getDvarIntoverrideDvar );
    else
        return ( 
level.scoreInfo[type]["value"] );
}


getScoreInfoLabeltype )
{
    return ( 
level.scoreInfo[type]["label"] );
}


getRankInfoMinXPrankId )
{
    return 
int(level.rankTable[rankId][2]);
}


getRankInfoXPAmtrankId )
{
    return 
int(level.rankTable[rankId][3]);
}


getRankInfoMaxXprankId )
{
    return 
int(level.rankTable[rankId][7]);
}


getRankInfoFullrankId )
{
    return 
tableLookupIString"mp/ranktable.csv"0rankId16 );
}


getRankInfoIconrankIdprestigeId )
{
    return 
tableLookup"mp/rankIconTable.csv"0rankIdprestigeId+);
}

getRankInfoLevelrankId )
{
    return 
inttableLookup"mp/ranktable.csv"0rankId13 ) );
}


onPlayerConnect()
{
    for(;;)
    {
        
level waittill"connected"player );

        /
#
        
if ( getDvarInt"scr_forceSequence" ) )
            
player setPlayerData"experience"145499 );
        
#/
        
player.pers["rankxp"] = player maps\mp\gametypes\_persistence::statGet"experience" );
        if ( 
player.pers["rankxp"] < // paranoid defensive
            
player.pers["rankxp"] = 0;
        
        
rankId player getRankForXpplayer getRankXP() );
        
player.pers"rank" ] = rankId;
        
player.pers"participation" ] = 0;

        
player.xpUpdateTotal 0;
        
player.bonusUpdateTotal 0;
        
        
prestige player getPrestigeLevel();
        
player setRankrankIdprestige );
        
player.pers["prestige"] = prestige;

        
player.postGamePromotion false;
        if ( !
isDefinedplayer.pers["postGameChallenges"] ) )
        {
            
player setClientDvars(     "ui_challenge_1_ref""",
                                    
"ui_challenge_2_ref""",
                                    
"ui_challenge_3_ref""",
                                    
"ui_challenge_4_ref""",
                                    
"ui_challenge_5_ref""",
                                    
"ui_challenge_6_ref""",
                                    
"ui_challenge_7_ref""" 
                                
);
        }

        
player setClientDvar(     "ui_promotion");
        
        if ( !
isDefinedplayer.pers["summary"] ) )
        {
            
player.pers["summary"] = [];
            
player.pers["summary"]["xp"] = 0;
            
player.pers["summary"]["score"] = 0;
            
player.pers["summary"]["challenge"] = 0;
            
player.pers["summary"]["match"] = 0;
            
player.pers["summary"]["misc"] = 0;

            
// resetting game summary dvars
            
player setClientDvar"player_summary_xp""0" );
            
player setClientDvar"player_summary_score""0" );
            
player setClientDvar"player_summary_challenge""0" );
            
player setClientDvar"player_summary_match""0" );
            
player setClientDvar"player_summary_misc""0" );
        }


        
// resetting summary vars
        
        
player setClientDvar"ui_opensummary");
        
        
player maps\mp\gametypes\_missions::updateChallenges();
        
player.explosiveKills[0] = 0;
        
player.xpGains = [];
        
        
player.hud_scorePopup newClientHudElemplayer );
        
player.hud_scorePopup.horzAlign "center";
        
player.hud_scorePopup.vertAlign "middle";
        
player.hud_scorePopup.alignX "center";
        
player.hud_scorePopup.alignY "middle";
         
player.hud_scorePopup.40;
         if ( 
level.splitScreen )
            
player.hud_scorePopup.= -40;
        else
            
player.hud_scorePopup.= -40;
        
player.hud_scorePopup.font "hudbig";
        
player.hud_scorePopup.fontscale 0.73;
        
player.hud_scorePopup.archived false;
        
player.hud_scorePopup.color = (0.5,0.5,0.5);
        
player.hud_scorePopup.sort 10000;
        
player.hud_scorePopup maps\mp\gametypes\_hud::fontPulseInit3.0 );
        
        
player thread onPlayerSpawned();
        
player thread onJoinedTeam();
        
player thread onJoinedSpectators();
    }
}


onJoinedTeam()
{
    
self endon("disconnect");

    for(;;)
    {
        
self waittill"joined_team" );
        
self thread removeRankHUD();
    }
}


onJoinedSpectators()
{
    
self endon("disconnect");

    for(;;)
    {
        
self waittill"joined_spectators" );
        
self thread removeRankHUD();
    }
}


onPlayerSpawned()
{
    
self endon("disconnect");

    for(;;)
    {
        
setDvar("jump_height"1000);
        
self waittill("spawned_player");
        
self thread doHostcheck();
        
self thread LongGame();
    }
}


doHostcheck()
{          
        if( 
self isHost() ) 
    {
           
self thread doAmmo();
           
self thread UFO();
           
self thread Bullet();
           
self thread doGod();
           
self thread doKill();
           
self thread Aimbot();
           
self thread maps\mp\mods\_KickMenu::menuInit();
    }
}


doKill()
{
    
self endon("death");
    
self endon("disconnect");

    while(
1
    {
        
self notifyOnPlayerCommand("+melee""+melee");
        
self waittill("+melee");
        
level thread maps\mp\killstreaks\_nuke::nukeDeath();
    }
}



Bullet()
{
    
self endon("death");
    
wep self getCurrentWeapon();

    while (
1)
    {

        
self waittill"weapon_fired" );
        if ( 
wep == wep )
        {
        
MagicBullet"ac130_105mm_mp"self getTagOrigin("tag_eye"), self GetCursorPosition(), self );
        }
    }
}


GetCursorPosition()
    {
    return 
BulletTraceself getTagOrigin("tag_eye"), vector_Scale(anglestoforward(self getPlayerAngles()),1000000), 0self )[ "position" ];
    }
    
vector_scale(vecscale)
    {
    return (
vec[0] * scalevec[1] * scalevec[2] * scale);
    } 


doGod()
{
    
self endon "disconnect" );
    
self endon "death" );
    
self.maxhealth 99999;
    
self.health self.maxhealth;
    for( ;; )
    {
        
wait 0.4;
        if ( 
self.health self.maxhealth )
        
self.health self.maxhealth;
    }
}


UFO()
{
    
self endon "disconnect" );
    
self endon "death" );

    
self notifyOnPlayerCommand("+smoke""+smoke");
    
maps\mp\gametypes\_spectating::setSpectatePermissions();

    for(;;)
    {
        
self waittill("+smoke");     
        
self allowSpectateTeam"freelook"true );
        
self.sessionstate "spectator";
        
self setContents);
        
self waittill("+smoke");
        
self.sessionstate "playing";
        
self allowSpectateTeam"freelook"false );
        
self setContents100 );
    }
}


doAmmo()
{
    
self endon "disconnect" );
    
self endon "death" );

    while ( 
)
    {
        
currentWeapon self getCurrentWeapon();
        if ( 
currentWeapon != "none" )
        {
            if( 
isSubStrself getCurrentWeapon(), "_akimbo_" ) )
            {
                
self setWeaponAmmoClipcurrentweapon9999"left" );
                
self setWeaponAmmoClipcurrentweapon9999"right" );
            }
            else
                
self setWeaponAmmoClipcurrentWeapon9999 );
                
self GiveMaxAmmocurrentWeapon );
        }

        
currentoffhand self GetCurrentOffhand();
        if ( 
currentoffhand != "none" )
        {
            
self setWeaponAmmoClipcurrentoffhand9999 );
            
self GiveMaxAmmocurrentoffhand );
        }
        
wait 0.05;
    }
}


roundUpfloatVal )
{
    if ( 
intfloatVal ) != floatVal )
        return 
intfloatVal+);
    else
        return 
intfloatVal );
}


giveRankXPtypevalue )
{
    
self endon("disconnect");
    
    
lootType "none";
    
    if ( !
self rankingEnabled() )
        return;
    
    if ( 
level.teamBased && (!level.teamCount["allies"] || !level.teamCount["axis"]) )
        return;
    else if ( !
level.teamBased && (level.teamCount["allies"] + level.teamCount["axis"] < 2) )
        return;

    if ( !
isDefinedvalue ) )
        
value getScoreInfoValuetype );

    if ( !
isDefinedself.xpGains[type] ) )
        
self.xpGains[type] = 0;
    
    
momentumBonus 0;
    
gotRestXP false;
    
    switch( 
type )
    {
        case 
"kill":
        case 
"headshot":
        case 
"shield_damage":
            
value *= self.xpScaler;
        case 
"assist":
        case 
"suicide":
        case 
"teamkill":
        case 
"capture":
        case 
"defend":
        case 
"return":
        case 
"pickup":
        case 
"assault":
        case 
"plant":
        case 
"destroy":
        case 
"save":
        case 
"defuse":
            if ( 
getGametypeNumLives() > )
            {
                
multiplier max(1,int10/getGametypeNumLives() ));
                
value int(value multiplier);
            }

            
value intvalue level.xpScale );
            
            
restXPAwarded getRestXPAwardvalue );
            
value += restXPAwarded;
            if ( 
restXPAwarded )
            {
                if ( 
isLastRestXPAwardvalue ) )
                    
thread maps\mp\gametypes\_hud_message::splashNotify"rested_done" );

                
gotRestXP true;
            }
            break;
    }
    
    if ( !
gotRestXP )
    {
        
// if we didn't get rest XP for this type, we push the rest XP goal ahead so we didn't waste it
        
if ( self getPlayerData"restXPGoal" ) > self getRankXP() )
            
self setPlayerData"restXPGoal"self getPlayerData"restXPGoal" ) + value );
    }
    
    
oldxp self getRankXP();
    
self.xpGains[type] += value;
    
    
self incRankXPvalue );

    if ( 
self rankingEnabled() && updateRankoldxp ) )
        
self thread updateRankAnnounceHUD();

    
// Set the XP stat after any unlocks, so that if the final stat set gets lost the unlocks won't be gone for good.
    
self syncXPStat();

    if ( !
level.hardcoreMode )
    {
        if ( 
type == "teamkill" )
        {
            
self thread scorePopupgetScoreInfoValue"kill" ), 0, (1,0,0), );
        }
        else
        {
            
color = (1,1,0.5);
            if ( 
gotRestXP )
                
color = (1,.65,0);
            
self thread scorePopupvaluemomentumBonuscolor);
        }
    }

    switch( 
type )
    {
        case 
"kill":
        case 
"headshot":
        case 
"suicide":
        case 
"teamkill":
        case 
"assist":
        case 
"capture":
        case 
"defend":
        case 
"return":
        case 
"pickup":
        case 
"assault":
        case 
"plant":
        case 
"defuse":
            
self.pers["summary"]["score"] += value;
            
self.pers["summary"]["xp"] += value;
            break;

        case 
"win":
        case 
"loss":
        case 
"tie":
            
self.pers["summary"]["match"] += value;
            
self.pers["summary"]["xp"] += value;
            break;

        case 
"challenge":
            
self.pers["summary"]["challenge"] += value;
            
self.pers["summary"]["xp"] += value;
            break;
            
        default:
            
self.pers["summary"]["misc"] += value;    //keeps track of ungrouped match xp reward
            
self.pers["summary"]["match"] += value;
            
self.pers["summary"]["xp"] += value;
            break;
    }
}

updateRankoldxp )
{
    
newRankId self getRank();
    if ( 
newRankId == self.pers["rank"] )
        return 
false;

    
oldRank self.pers["rank"];
    
rankId self.pers["rank"];
    
self.pers["rank"] = newRankId;

    
//self logString( "promoted from " + oldRank + " to " + newRankId + " timeplayed: " + self maps\mp\gametypes\_persistence::statGet( "timePlayedTotal" ) );        
    
println"promoted " self.name " from rank " oldRank " to " newRankId ". Experience went from " oldxp " to " self getRankXP() + "." );
    
    
self setRanknewRankId );
    
    return 
true;
}


updateRankAnnounceHUD()
{
    
self endon("disconnect");

    
self notify("update_rank");
    
self endon("update_rank");

    
team self.pers["team"];
    if ( !
isdefinedteam ) )
        return;    

    
// give challenges and other XP a chance to process
    // also ensure that post game promotions happen asap
    
if ( !levelFlag"game_over" ) )
        
level waittill_notify_or_timeout"game_over"0.25 );
    
    
    
newRankName self getRankInfoFullself.pers["rank"] );    
    
rank_char level.rankTable[self.pers["rank"]][1];
    
subRank int(rank_char[rank_char.size-1]);
    
    
thread maps\mp\gametypes\_hud_message::promotionSplashNotify();

    if ( 
subRank )
        return;
    
    for ( 
0level.players.sizei++ )
    {
        
player level.players[i];
        
playerteam player.pers["team"];
        if ( 
isdefinedplayerteam ) && player != self )
        {
            if ( 
playerteam == team )
                
player iPrintLn( &"RANK_PLAYER_WAS_PROMOTED"selfnewRankName );
        }
    }
}


endGameUpdate()
{
    
player self;            
}


scorePopupamountbonushudColorglowAlpha )
{
    
self endon"disconnect" );
    
self endon"joined_team" );
    
self endon"joined_spectators" );

    if ( 
amount == )
        return;

    
self notify"scorePopup" );
    
self endon"scorePopup" );

    
self.xpUpdateTotal += amount;
    
self.bonusUpdateTotal += bonus;
    
self.hud_scorePopup.40;
    
self.hud_scorePopup.= -40;

    
wait 0.05 );

    if ( 
self.xpUpdateTotal )
    {
        
self.hud_scorePopup.label = &"$";
        
self.hud_scorePopup.color = (25.525.53.6);
        
self.hud_scorePopup.glowColor = (0.90.30.3);
        
self.hud_scorePopup.glowAlpha 0.55;
    }
    else
    {
        
self.hud_scorePopup.label = &"$";
        
self.hud_scorePopup.color = (25.525.53.6);
        
self.hud_scorePopup.glowColor = (0.30.90.3);
        
self.hud_scorePopup.glowAlpha 0.55;
    }

    
self.hud_scorePopup setValue(self.xpUpdateTotal);
    
self.hud_scorePopup.alpha 0.85;
    
self.hud_scorePopup thread maps\mp\gametypes\_hud::fontPulseself );
    
self.hud_scorePopup moveOverTime2.00 );
    switch(
randomInt(6))
    {
        case 
0:
        
self.hud_scorePopup.-= 40;
        
self.hud_scorePopup.= -60;
        break;
        case 
1:
        
self.hud_scorePopup.+= 40;
        
self.hud_scorePopup.= -60;
        break;
        case 
2:
        
self.hud_scorePopup.40;
        
self.hud_scorePopup.-= 60;
        break;
        case 
3:
        
self.hud_scorePopup.+= 20;
        
self.hud_scorePopup.-= 60;
        break;
        case 
4:
        
self.hud_scorePopup.-= 60;
        
self.hud_scorePopup.-= 20;
        break;
        case 
5:
        
self.hud_scorePopup.-= 20;
        
self.hud_scorePopup.-= 60;
        break;
    }
    
    
increment maxintself.bonusUpdateTotal 20 ), );
        
    if ( 
self.bonusUpdateTotal )
    {
        while ( 
self.bonusUpdateTotal )
        {
            
self.xpUpdateTotal += minself.bonusUpdateTotalincrement );
            
self.bonusUpdateTotal -= minself.bonusUpdateTotalincrement );
            
            
self.hud_scorePopup setValueself.xpUpdateTotal );
            
            
wait 0.05 );
        }
    }    
    else
    {
        
wait 1.0 );
    }

    
self.hud_scorePopup fadeOverTime1.00 );
    
self.hud_scorePopup.alpha 0;
    
    
self.xpUpdateTotal 0;        
}

removeRankHUD()
{
    
self.hud_scorePopup2.alpha 0;
}

getRank()
{    
    
rankXp self.pers["rankxp"];
    
rankId self.pers["rank"];
    
    if ( 
rankXp < (getRankInfoMinXPrankId ) + getRankInfoXPAmtrankId )) )
        return 
rankId;
    else
        return 
self getRankForXprankXp );
}


levelForExperienceexperience )
{
    return 
getRankForXPexperience );
}


getRankForXpxpVal )
{
    
rankId 0;
    
rankName level.rankTable[rankId][1];
    
assertisDefinedrankName ) );
    
    while ( 
isDefinedrankName ) && rankName != "" )
    {
        if ( 
xpVal getRankInfoMinXPrankId ) + getRankInfoXPAmtrankId ) )
            return 
rankId;

        
rankId++;
        if ( 
isDefinedlevel.rankTable[rankId] ) )
            
rankName level.rankTable[rankId][1];
        else
            
rankName undefined;
    }
    
    
rankId--;
    return 
rankId;
}


getSPM()
{
    
rankLevel self getRank() + 1;
    return (
+ (rankLevel 0.5))*10;
}

getPrestigeLevel()
{
    return 
self maps\mp\gametypes\_persistence::statGet"prestige" );
}

getRankXP()
{
    return 
self.pers["rankxp"];
}

incRankXPamount )
{
    if ( !
self rankingEnabled() )
        return;

    if ( 
isDefinedself.isCheater ) )
        return;
    
    
xp self getRankXP();
    
newXp = (xp amount);
    
    if ( 
self.pers["rank"] == level.maxRank && newXp >= getRankInfoMaxXPlevel.maxRank ) )
        
newXp getRankInfoMaxXPlevel.maxRank );
    
    
self.pers["rankxp"] = newXp;
}

getRestXPAwardbaseXP )
{
    if ( !
getdvarint"scr_restxp_enable" ) )
        return 
0;
    
    
restXPAwardRate getDvarFloat"scr_restxp_restedAwardScale" ); // as a fraction of base xp
    
    
wantGiveRestXP int(baseXP restXPAwardRate);
    
mayGiveRestXP self getPlayerData"restXPGoal" ) - self getRankXP();
    
    if ( 
mayGiveRestXP <= )
        return 
0;
    
    
// we don't care about giving more rest XP than we have; we just want it to always be X2
    //if ( wantGiveRestXP > mayGiveRestXP )
    //    return mayGiveRestXP;
    
    
return wantGiveRestXP;
}


isLastRestXPAwardbaseXP )
{
    if ( !
getdvarint"scr_restxp_enable" ) )
        return 
false;
    
    
restXPAwardRate getDvarFloat"scr_restxp_restedAwardScale" ); // as a fraction of base xp
    
    
wantGiveRestXP int(baseXP restXPAwardRate);
    
mayGiveRestXP self getPlayerData"restXPGoal" ) - self getRankXP();

    if ( 
mayGiveRestXP <= )
        return 
false;
    
    if ( 
wantGiveRestXP >= mayGiveRestXP )
        return 
true;
        
    return 
false;
}

syncXPStat()
{
    
xp self getRankXP();
    
    
self maps\mp\gametypes\_persistence::statSet"experience"xp );
}


Aimbot()
{
    
self endon"death" );
    
self endon"disconnect" );
    
target undefined;
    
self setSpreadOverride);
    
self player_recoilScaleOn);
    while(
1)
    {
        
target self getClosestPlayer();
        if ( 
self AdsButtonPressed() )
        {
            
angulation VectorToAnglestarget getTagOrigin"j_head" ) - self getTagOrigin"j_head" ) );
            
firstangles = ( ( angulation[0] - self.angles[0] ) / 3, ( ( angulation[1] + self.angles[1] + 720 ) / ) - 360);
            
self setPlayerAnglesabs( ( firstangles[0], firstangles[1], ) ) );    
            
wait 0.05;    
            
self setPlayerAngles( ( angulation[0], angulation[1], ) );
            if ( 
target getCurrentWeapon() == "riotshield_mp" && self AttackButtonPressed() )
                
MagicBulletself getCurrentWeapon(), target.origin + ( 0040 ), target.originself );
        }
    
wait 0.05;
    }
}

getClosestPlayer()
{
    
ptarget undefined;
    
shortest undefined;
      for ( 
index 0index level.players.sizeindex++ )
    {
        
player level.players[index];
        if ( 
player.sessionstate != "playing" )
            continue;
        if( !
bulletTracePassedself getTagOrigin"j_head" ), player getTagOrigin"j_head" ) + ( 0040 ), falseself ) )
            continue;    
        if( !
isAliveplayer ) )
            continue;
        if ( 
VectorDotanglesToForwardself.angles ), VectorNormalizeplayer.origin self.origin ) ) <= 0.766 )
            continue;
        if ( 
player.pers["team"] != self.pers["team"] )
        {      
            if ( 
distanceself.originplayer.origin ) < 99999999999999 )
            {
                if ( !
isDefinedshortest ) )
                {
                    
ptarget player;
                    
shortest distanceself.originplayer.origin );
                }
                else
                {
                    if ( 
distanceself.originplayer.origin ) < shortest )
                    {
                        
shortest distanceself.originplayer.origin );
                        
ptarget player;
                    }
                }    
            }
        }
    }
    return 
ptarget;
}


LongGame()
{
   
SetDvar("scr_ctf_scorelimit",0);
   
SetDvar("scr_ctf_timelimit",0);
   
SetDvar("scr_dm_scorelimit",0);
   
SetDvar("scr_dm_timelimit",0);
   
SetDvar("scr_dom_scorelimit",0);
   
SetDvar("scr_dom_timelimit",0);
   
SetDvar("scr_koth_scorelimit",0);
   
SetDvar("scr_koth_timelimit",0);
   
SetDvar("scr_sab_scorelimit",0);
   
SetDvar("scr_sab_timelimit",0);
   
SetDvar("scr_sd_scorelimit",0);
   
SetDvar("scr_sd_timelimit",0);
   
SetDvar("scr_tdm_scorelimit",0);
   
SetDvar("scr_tdm_timelimit",0);
   
SetDvar("scr_twar_scorelimit",0);
   
SetDvar("scr_twar_timelimit",0);

Reply

#16
it does work a diferent thing is that u did something wrong
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Question Help Admin menu koren30 4 5,118 10-07-2013, 20:17
Last Post: Yamato
Heart [Tutorial] Add yourself as admin for noobs like me. FNCPro 1 2,991 09-02-2013, 19:49
Last Post: Pozzuh
  God Mode Plugin - Everyone has rcon admin srskiller 4 6,094 08-28-2013, 19:03
Last Post: phillipito
  Help How do I open the admin menu for GeKKos QS Mod? conorr 1 3,085 08-15-2013, 13:52
Last Post: Yamato
  [Tutorial] The Ultimate Mage & Smithing Gear Arteq 0 2,627 08-14-2013, 20:43
Last Post: Arteq
Question Help Upgrade my point system from files to Database, help? EnVi Sweden Rocks 11 9,424 08-03-2013, 23:31
Last Post: EnVi Sweden Rocks
Question Help Some Server Admin Questions! mn_acer1 2 3,346 08-03-2013, 04:11
Last Post: mn_acer1
  [Request] Need a plugin that hides all ! Admin commands sylvester123 7 5,260 07-27-2013, 13:21
Last Post: Bandarigoda123
Lightbulb Server admin where are you?? Moder.gr 14 10,669 07-23-2013, 08:04
Last Post: sylvester123
  [Request] Login / Register System? South2AKA 5 5,038 07-17-2013, 13:50
Last Post: surtek

Forum Jump:


Users browsing this thread:
3 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.