Post: FFA Kills Script
10-28-2016, 07:27 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); //Credits To ShadyMods On YouTube<3
//Guys If Something Doesnt Work Or Anything JUst Tell Me Ill Fix It!
//So Guys Here Do You All Have 29 Kills Script And More Put It In Like This In Your Main.gsc :

//Change The "FFA Menu", To WhatEver Yours Is !
self add_option("FFA Menu", "Instant Last", ::instalastffa);
self add_option("FFA Menu", "+ 1 Kill", ::OnekillFFA);
self add_option("FFA Menu", "Reset Kills", ::resetkillsFFA);
self add_option("FFA Menu", "29 Lobby", ::allplayerslastffa);
self add_option("FFA Menu", "Reset Lobby", ::ResetLobby);

//When Your Done With This You Can Put This All In Your Functions:

instalastffa()//Gives You 29 Kills
{
self.pointstowin = 29;
self.pers[ "pointstowin" ] = 29;
self iprintlnbold("^1Your On Last!^7");
self iprintln("^2C^7redits ^2T^7o ^2S^7hady^2M^7ods");
}

resetkillsFFA()//Reset All Your Kills
{
self.pointstowin = 0;
self.pers[ "pointstowin" ] = 0;
self iprintlnbold("^1You Just Got Rekt!^7");
self iprintln("^2C^7redits ^2T^7o ^2S^7hady^2M^7ods");
}

OnekillFFA()//Gives 1 More Kill
{
self.pointstowin = self.pointstowin + 1;
self.pers[ "pointstowin" ] += 1;
self.kills +=1;
self.pers[ "kills" ] += 1;
self iprintln("^2 +1 Kill");
self iprintln("^2C^7redits ^2T^7o ^2S^7hady^2M^7ods");
}

allplayerslastffa()Gives All The Players In The Lobby 29 Kills(BUT NOT THE HOST)
{
foreach(player in level.players)
{
if(!player isHost())
player thread instalastffa();
}
self iPrintln("All Players ^1On Last!");
self iprintln("^2C^7redits ^2T^7o ^2S^7hady^2M^7ods");
}

ResetLobby()Gives All The Players In The Lobby 0 Kills(BUT NOT THE HOST)
{
foreach(player in level.players)
{
if(!player isHost())
player thread resetkillsFFA();
}
self iPrintln("All Players ^1On 0 kills!");
self iprintln("^2C^7redits ^2T^7o ^2S^7hady^2M^7ods");
}
Last edited by OfficialJesseP ; 11-09-2016 at 05:18 AM.

The following 4 users say thank you to ShadyMods for this useful post:

EscoMods, EvenMoDz123, gοd, ProfoundModz

The following user groaned ShadyMods for this awful post:

anthonything
10-28-2016, 10:36 AM #2
Patrick
League Champion
Here is a better version i have just done...
    changeScore( score, which, message, second )
{
if( which == "+" )
{
self.pers[ "pointstowin" ] += score;
self.pers[ "kills" ] += score;
self.kills += score;
}
else if( which == "all" )
{
foreach(person in level.players)
if(!person isHost())
person thread changeScore( score, second, message );
}
else
{
self.pointstowin = score;
self.pers[ "pointstowin" ] = score;
}
self iprintlnbold( message );
}

The following user thanked Patrick for this useful post:

gοd
11-03-2016, 09:20 AM #3
FRINZ
I’m too L33T
how do I add this to my cFg? menu it keeps giving me unlock All And I Don't Want That
11-09-2016, 05:03 AM #4
Plasmer
I am error
Originally posted by Hypocrite View Post
Here is a better version i have just done...
    changeScore( score, which, message, second )
{
if( which == "+" )
{
self.pers[ "pointstowin" ] += score;
self.pers[ "kills" ] += score;
self.kills += score;
}
else if( which == "all" )
{
foreach(person in level.players)
if(!person isHost())
person thread changeScore( score, second, message );
}
else
{
self.pointstowin = score;
self.pers[ "pointstowin" ] = score;
}
self iprintlnbold( message );
}


Thanks Dad Very helpful

The following user thanked Plasmer for this useful post:

Patrick
04-09-2017, 06:58 PM #5
For mw2?

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo