-kllr2001-
Veteran X
I need a script that will set my personal skin on me everytime I join a different team and when I first connect to a game... It can either be stand alone or presto thnx...
Heres some code that might help whomever decides to make it...
Heres some code that might help whomever decides to make it...
Code:
function processMenummisc(%clientId, %option) {
%o = getWord(%option, 0);
%extra = getWord(%option, 1);
if(%o == "pSkin") {
if(%clientId.custom == False) {
%clientId.custom = True;
Client::setSkin(%clientId, $Client::info[%clientId, 0]);
} else if(%clientId.custom == True) {
%clientId.custom = False;
Client::setSkin(%clientId, $Server::teamSkin[Client::getTeam(%clientId)]);
}
if ($HaVoC::PersonalSkin) {
if(%clientId.custom == False) {
Client::addMenuItem(%clientId, %i++ @ "Use Personal Skin", "pSkin");
} else if(%clientId.custom == True) {
Client::addMenuItem(%clientId, %i++ @ "Use Team Skin", "pSkin");
}