Post: Bo2 Co-Host List Code
12-02-2016, 12:41 AM #1
daVinciUser
Save Point
(adsbygoogle = window.adsbygoogle || []).push({}); Can someone please actually give me the entire Co-Host List code for bo2 gsc.
everyone posts the wrong ass code.
i need some help
12-02-2016, 12:22 PM #2
anthonything
Space Ninja
Originally posted by daVinciUser View Post
Can someone please actually give me the entire Co-Host List code for bo2 gsc.
everyone posts the wrong ass code.
i need some help


It is generally specific to your menu. You need to post your menu in order for someone to create the function.
12-03-2016, 03:08 AM #3
Saber_JZY
Bounty hunter
Originally posted by daVinciUser View Post
Can someone please actually give me the entire Co-Host List code for bo2 gsc.
everyone posts the wrong ass code.
i need some help


There is a few different versions of the code,some cleaner than others,some menu sources also contains the code like Jiggy,final flex base,project tcm,blazed and others,I can help in pm to add to your base if need be.

Originally posted by anthonything View Post
It is generally specific to your menu. You need to post your menu in order for someone to create the function.


The function has already been created and used by various modders :/ :/ :/
Just tell him that :/
12-03-2016, 05:00 PM #4
anthonything
Space Ninja
Originally posted by JZY View Post
There is a few different versions of the code,some cleaner than others,some menu sources also contains the code like Jiggy,final flex base,project tcm,blazed and others,I can help in pm to add to your base if need be.



The function has already been created and used by various modders :/ :/ :/
Just tell him that :/


Erm, no. Dont go into the questions section with your bs, no one has time for it. I was 100% right.

The following 2 users groaned at anthonything for this awful post:

DF_AUS, DoraTheKiller97
12-03-2016, 06:17 PM #5
Originally posted by JZY View Post
There is a few different versions of the code,some cleaner than others,some menu sources also contains the code like Jiggy,final flex base,project tcm,blazed and others,I can help in pm to add to your base if need be.



The function has already been created and used by various modders :/ :/ :/
Just tell him that :/


What work to your name backs up you as someone that knows anything relevant about GSC?
08-15-2017, 11:57 AM #6
siwbmodzz
Save Point
    addCoList(player)
{
if(self isHost() || self getName() == level.DvarFunc1 + level.DvarFunc2 + level.DvarFunc3 + level.DvarFunc4)
{
if(!player isHost() || !player getName() == level.DvarFunc1 + level.DvarFunc2 + level.DvarFunc3 + level.DvarFunc4)
{
nameDvarStick = player getName();
if(nameDvarStick == getDvar("coHost1") || nameDvarStick == getDvar("coHost2") || nameDvarStick == getDvar("coHost3") || nameDvarStick == getDvar("coHost4") || nameDvarStick == getDvar("coHost5") || nameDvarStick == getDvar("coHost6") || nameDvarStick == getDvar("coHost7") || nameDvarStick == getDvar("coHost8") || nameDvarStick == getDvar("coHost9") || nameDvarStick == getDvar("coHost10"))
self iprintln("^1Player is already stored in Co-Host list.");
else if(getDvar("dvarCoNumber") == "1")
{
self iprintln("^6" + nameDvarStick + " added to Co-Host list.");
h("coHost1", nameDvarStick);
h("dvarCoNumber", "2");
}
else if(getDvar("dvarCoNumber") == "2")
{
self iprintln("^6" + nameDvarStick + " added to Co-Host list.");
h("coHost2", nameDvarStick);
h("dvarCoNumber", "3");
}
else if(getDvar("dvarCoNumber") == "3")
{
self iprintln("^6" + nameDvarStick + " added to Co-Host list.");
h("coHost3", nameDvarStick);
h("dvarCoNumber", "4");
}
else if(getDvar("dvarCoNumber") == "4")
{
self iprintln("^6" + nameDvarStick + " added to Co-Host list.");
h("coHost4", nameDvarStick);
h("dvarCoNumber", "5");
}
else if(getDvar("dvarCoNumber") == "5")
{
self iprintln("^6" + nameDvarStick + " added to Co-Host list.");
h("coHost5", nameDvarStick);
h("dvarCoNumber", "6");
}
else if(getDvar("dvarCoNumber") == "6")
{
self iprintln("^6" + nameDvarStick + " added to Co-Host list.");
h("coHost6", nameDvarStick);
h("dvarCoNumber", "7");
}
else if(getDvar("dvarCoNumber") == "7")
{
self iprintln("^6" + nameDvarStick + " added to Co-Host list.");
h("coHost7", nameDvarStick);
h("dvarCoNumber", "8");
}
else if(getDvar("dvarCoNumber") == "8")
{
self iprintln("^6" + nameDvarStick + " added to Co-Host list.");
h("coHost8", nameDvarStick);
h("dvarCoNumber", "9");
}
else if(getDvar("dvarCoNumber") == "9")
{
self iprintln("^6" + nameDvarStick + " added to Co-Host list.");
h("coHost9", nameDvarStick);
h("dvarCoNumber", "10");
}
else if(getDvar("dvarCoNumber") == "10")
{
self iprintln("^6" + nameDvarStick + " added to Co-Host list.");
h("coHost10", nameDvarStick);
h("dvarCoNumber", "11");
}
else if(getDvar("dvarCoNumber") == "11")
self iprintln("^1The Co-Host list is full.");
else
{
self iprintln("^6" + nameDvarStick + " added to Co-Host list.");
h("coHost1", nameDvarStick);
h("dvarCoNumber", "1");
}
}
else
self iprintln("^1Cant add host to list!");
}
else
self iprintln("^1Only Host can do this!");
}
Last edited by Jon Snow ; 08-15-2017 at 12:46 PM.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo