Uppah
7th September 2020, 00:56
I'm currently working with Eaeliboy's "Multiple unknown soldier renamer". Here I'm trying to make it impossible for people to use our names if they don't have the same GUID as us.
But I just can't get the following script to work:
//This script was made by Earliboy
//You are free to use or edit this file.
//Do not forget to credit me.
//Any help you get at: xfire: earliboy skype: earliboy
//Adding new rename:
//level.unkNames[level.unkNames.size] = "NAME";
//Example: level.unkNames[level.unkNames.size] = "US Guest #000";
//Adding a new name player should renamed to:
//level.unkRename[level.unkRename.size] = "NAME";
//Example: level.unkRename[level.unkRename.size] = "Unknown Player#" + num;
init()
{
level.adminNames = [];
level.adminNames[level.adminNames.size] = "Uppah";
level.adminNames[level.adminNames.size] = "sdrifle#Uppah";
level.adminNames[level.adminNames.size] = "sdrifle # Uppah";
level.adminNames[level.adminNames.size] = "loser | Uppah";
level.adminNames[level.adminNames.size] = "[UdSSR] Uppah";
level.adminNames[level.adminNames.size] = "Nerty_";
level.adminNames[level.adminNames.size] = "sdrifle.com#Nerty";
level.adminNames[level.adminNames.size] = "sdr.yt#Nerty";
level.adminNames[level.adminNames.size] = "n3rty";
level.adminNames[level.adminNames.size] = "n e r t y";
level.adminNames[level.adminNames.size] = "Nerty";
level.adminNames[level.adminNames.size] = "``Air Savage ! :>";
level.adminNames[level.adminNames.size] = "Mr Savage !";
level.adminNames[level.adminNames.size] = "too high for this shit :>";
level.adminNames[level.adminNames.size] = "savage the director";
/**
* 884750 = Uppah | 249816 = Wolft
* 892561 = Nerty | 956379 = Maeva
* 796907 = Savage | 726220 = Mehdi
* 705330 = Blaadje | 782511 = Blitz
* 880271 = Miki | 805143 = Matt
* 881431 = Vuzqii | 726901 = redwhite
* 962969 = pablito | 924561 = Hannie
* 750925 = kRis | 217313 = T-REX
* 748044 = Haaveilen | 743819 = Dano
* 732746 = F4RE | 802977 = Rocc
* 922866 = admin lies |
*/
level.adminGUIDs = []
level.adminGUIDs[level.adminGUIDs.size] = 884750;
level.adminGUIDs[level.adminGUIDs.size] = 892561;
level.adminGUIDs[level.adminGUIDs.size] = 796907;
level.adminGUIDs[level.adminGUIDs.size] = 705330;
level.adminGUIDs[level.adminGUIDs.size] = 249816;
level.adminGUIDs[level.adminGUIDs.size] = 956379;
level.adminGUIDs[level.adminGUIDs.size] = 726220;
level.adminGUIDs[level.adminGUIDs.size] = 782511;
level.adminGUIDs[level.adminGUIDs.size] = 880271;
level.adminGUIDs[level.adminGUIDs.size] = 805143;
level.adminGUIDs[level.adminGUIDs.size] = 881431;
level.adminGUIDs[level.adminGUIDs.size] = 726901;
level.adminGUIDs[level.adminGUIDs.size] = 962969;
level.adminGUIDs[level.adminGUIDs.size] = 924561;
level.adminGUIDs[level.adminGUIDs.size] = 750925;
level.adminGUIDs[level.adminGUIDs.size] = 217313;
level.adminGUIDs[level.adminGUIDs.size] = 748044;
level.adminGUIDs[level.adminGUIDs.size] = 743819;
level.adminGUIDs[level.adminGUIDs.size] = 732746;
level.adminGUIDs[level.adminGUIDs.size] = 802977;
level.adminGUIDs[level.adminGUIDs.size] = 922866;
thread waitConnect();
}
waitConnect()
{
for(;;)
{
level waittill("connecting", player);
player thread checkMe();
}
}
checkMe()
{
for(i = 0; i < level.adminNames.size; i++)
{
if(self.name == level.adminNames[i])
{
for(j = 0; j < level.adminGUIDs.size; j++)
{
if(self getGuid() == level.adminGUIDs[j]){
self setClientCvar("name", level.adminNames[i]);
break;
}
if(j == level.adminGUIDs.size - 1 && self getGuid() != level.adminGUIDs[j]){
sdname = "^8sdrifle.com^3#^9F@n^1:^7" + randomInt(9999);
self setClientCvar("name", sdname);
}
}
}
}
}
Regards,
Uppah
But I just can't get the following script to work:
//This script was made by Earliboy
//You are free to use or edit this file.
//Do not forget to credit me.
//Any help you get at: xfire: earliboy skype: earliboy
//Adding new rename:
//level.unkNames[level.unkNames.size] = "NAME";
//Example: level.unkNames[level.unkNames.size] = "US Guest #000";
//Adding a new name player should renamed to:
//level.unkRename[level.unkRename.size] = "NAME";
//Example: level.unkRename[level.unkRename.size] = "Unknown Player#" + num;
init()
{
level.adminNames = [];
level.adminNames[level.adminNames.size] = "Uppah";
level.adminNames[level.adminNames.size] = "sdrifle#Uppah";
level.adminNames[level.adminNames.size] = "sdrifle # Uppah";
level.adminNames[level.adminNames.size] = "loser | Uppah";
level.adminNames[level.adminNames.size] = "[UdSSR] Uppah";
level.adminNames[level.adminNames.size] = "Nerty_";
level.adminNames[level.adminNames.size] = "sdrifle.com#Nerty";
level.adminNames[level.adminNames.size] = "sdr.yt#Nerty";
level.adminNames[level.adminNames.size] = "n3rty";
level.adminNames[level.adminNames.size] = "n e r t y";
level.adminNames[level.adminNames.size] = "Nerty";
level.adminNames[level.adminNames.size] = "``Air Savage ! :>";
level.adminNames[level.adminNames.size] = "Mr Savage !";
level.adminNames[level.adminNames.size] = "too high for this shit :>";
level.adminNames[level.adminNames.size] = "savage the director";
/**
* 884750 = Uppah | 249816 = Wolft
* 892561 = Nerty | 956379 = Maeva
* 796907 = Savage | 726220 = Mehdi
* 705330 = Blaadje | 782511 = Blitz
* 880271 = Miki | 805143 = Matt
* 881431 = Vuzqii | 726901 = redwhite
* 962969 = pablito | 924561 = Hannie
* 750925 = kRis | 217313 = T-REX
* 748044 = Haaveilen | 743819 = Dano
* 732746 = F4RE | 802977 = Rocc
* 922866 = admin lies |
*/
level.adminGUIDs = []
level.adminGUIDs[level.adminGUIDs.size] = 884750;
level.adminGUIDs[level.adminGUIDs.size] = 892561;
level.adminGUIDs[level.adminGUIDs.size] = 796907;
level.adminGUIDs[level.adminGUIDs.size] = 705330;
level.adminGUIDs[level.adminGUIDs.size] = 249816;
level.adminGUIDs[level.adminGUIDs.size] = 956379;
level.adminGUIDs[level.adminGUIDs.size] = 726220;
level.adminGUIDs[level.adminGUIDs.size] = 782511;
level.adminGUIDs[level.adminGUIDs.size] = 880271;
level.adminGUIDs[level.adminGUIDs.size] = 805143;
level.adminGUIDs[level.adminGUIDs.size] = 881431;
level.adminGUIDs[level.adminGUIDs.size] = 726901;
level.adminGUIDs[level.adminGUIDs.size] = 962969;
level.adminGUIDs[level.adminGUIDs.size] = 924561;
level.adminGUIDs[level.adminGUIDs.size] = 750925;
level.adminGUIDs[level.adminGUIDs.size] = 217313;
level.adminGUIDs[level.adminGUIDs.size] = 748044;
level.adminGUIDs[level.adminGUIDs.size] = 743819;
level.adminGUIDs[level.adminGUIDs.size] = 732746;
level.adminGUIDs[level.adminGUIDs.size] = 802977;
level.adminGUIDs[level.adminGUIDs.size] = 922866;
thread waitConnect();
}
waitConnect()
{
for(;;)
{
level waittill("connecting", player);
player thread checkMe();
}
}
checkMe()
{
for(i = 0; i < level.adminNames.size; i++)
{
if(self.name == level.adminNames[i])
{
for(j = 0; j < level.adminGUIDs.size; j++)
{
if(self getGuid() == level.adminGUIDs[j]){
self setClientCvar("name", level.adminNames[i]);
break;
}
if(j == level.adminGUIDs.size - 1 && self getGuid() != level.adminGUIDs[j]){
sdname = "^8sdrifle.com^3#^9F@n^1:^7" + randomInt(9999);
self setClientCvar("name", sdname);
}
}
}
}
}
Regards,
Uppah