-kllr2001-
12-31-2002, 10:55 PM
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...
function processMenummisc(%clientI d, %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(%clie ntId, %i++ @ "Use Personal Skin", "pSkin");
} else if(%clientId.custom == True) {
Client::addMenuItem(%clie ntId, %i++ @ "Use Team Skin", "pSkin");
}
Heres some code that might help whomever decides to make it...
function processMenummisc(%clientI d, %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(%clie ntId, %i++ @ "Use Personal Skin", "pSkin");
} else if(%clientId.custom == True) {
Client::addMenuItem(%clie ntId, %i++ @ "Use Team Skin", "pSkin");
}