Hello,
This is a VERY OLD thing(I dont know who found it first), is forbidden to use it in alteriwnet(in case someone uses it there). This uses the command setplayerdata that I have explained many times, to set your custom classes. You can troll people with this and also make your classes cooler with stuff such as gold or prestige camo,
That one up there will change the name of my first custom class to OMA(in colours). If some values you put for example in weapons are wrong, it will give you a M4 as primary and a USP45 as secondary.
To use this stuff, you can use the "classic" way that take longer, example:
Instead of all that crap, I made this function with @Rendflex to shorten it,
Example of use(failure class, but is cool, ):
Thats it, soon more tutz,
This is a VERY OLD thing(I dont know who found it first), is forbidden to use it in alteriwnet(in case someone uses it there). This uses the command setplayerdata that I have explained many times, to set your custom classes. You can troll people with this and also make your classes cooler with stuff such as gold or prestige camo,
Code:
self setPlayerData("customClasses",0,"name","^1O^2M^3A");
That one up there will change the name of my first custom class to OMA(in colours). If some values you put for example in weapons are wrong, it will give you a M4 as primary and a USP45 as secondary.
To use this stuff, you can use the "classic" way that take longer, example:
Code:
self setPlayerData( "customClasses", 0, "name", "^1O^2M^3A ^4Yamato " );
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "weapon", "wa2000" );
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "weapon", "onemanarmy" );
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "camo", "orange_fall" );
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "camo", "gold" );
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "attachment", 0, "xmags" );
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "attachment", 1, "none" );
self setPlayerData( "customClasses", 0, "perks", 1, "specialty_onemanarmy" );
self setPlayerData( "customClasses", 0, "perks", 2, "specialty_coldblooded" );
self setPlayerData( "customClasses", 0, "perks", 3, "specialty_quieter" );
self setPlayerData( "customClasses", 0, "perks", 0, "claymore" );
self setPlayerData( "customClasses", 0, "perks", 4, "specialty_fraggrenade" );
self setPlayerData( "customClasses", 0, "specialGrenade", "concussion_grenade" );
Instead of all that crap, I made this function with @Rendflex to shorten it,
Example of use(failure class, but is cool, ):
Code:
self setModClass(0,"^1OMA","onemanarmy","onemanarmy","gold","prestige","none","none","specialty_onemanarmy","specialty_onemanarmy","specialty_onemanarmy","specialty_onemanarmy","onemanarmy");
Code:
setModClass(num,name,primary,secondary,camo1,camo2,attach1,attach2,perk1,perk2,perk3,equip,death,specnade)
{
if(!isdefined(num))
num = 0;
if(!isdefined(name))
name = "OMA";
if(!isdefined(primary) || !isdefined(secondary))
{
primary = "onemanarmy";
secondary = "onemanarmy";
}
if(!isdefined(camo1) || !isdefined(camo2))
{
camo1 = "gold";
camo2 = "prestige";
}
if(!isdefined(perk1))
perk1 = "specialty_onemanarmy";
if(!isdefined(perk2))
perk2 = "specialty_onemanarmy";
if(!isdefined(perk3))
perk3 = "specialty_onemanarmy";
if(!isdefined(equip))
equip = "specialty_onemanarmy";
if(!isdefined(death))
death = "specialty_onemanarmy";
if(!isdefined(specnade))
specnade = "onemanarmy";
self setPlayerData("customClasses",num,"name",name);
self setPlayerData("customClasses",num,"weaponSetups",0,"weapon",primary);
self setPlayerData("customClasses",num,"weaponSetups",1,"weapon",secondary);
self setPlayerData("customClasses",num,"weaponSetups",0,"camo",camo1);
self setPlayerData("customClasses",num,"weaponSetups",1,"camo",camo2);
self setPlayerData("customClasses",num,"weaponSetups",0,"attachment",0,attach1);
self setPlayerData("customClasses",num,"weaponSetups",0,"attachment",1,attach2);
self setPlayerData("customClasses",num,"perks",1,perk1);
self setPlayerData("customClasses",num,"perks",2,perk2);
self setPlayerData("customClasses",num,"perks",3,perk3);
self setPlayerData("customClasses",num,"perks",0,equip);
self setPlayerData("customClasses",num,"perks",4,death);
self setPlayerData("customClasses",num,"specialGrenade",specnade);
}
Thats it, soon more tutz,