Hi everyone.
I have a little problem with this script. the baby transformation isn't working on some and the ninja class and the Gunslinger aren't catching either. I would like a solution, thanks.
if(!vip_status(VIP_STATUS_ACTIVE)) {
message strcharinfo(0),"This service is only avaiaible to VIP players.";
end;
}
mes "[^00FF00Acesso VIP^000000]";
mes "Então, deseja mudar sua aparência?";
menu "Mudar para aparência 3rd.",thirdclass,"Mudar para aparência 3rd baby.",babythirdclass,"Second class",secondclass,"Voltar para o normal.",reset;
thirdclass:
.@eac = eaclass();
.@to_class = roclass(.@eac|EAJL_THIRD);
if(.@to_class >= 0)
changebase .@to_class;
else
mes "[Suit Provider]", "I'm sorry, but your class is not supported.";
close;
babythirdclass:
.@eac = eaclass();
.@to_class = roclass(.@eac|EAJL_THIRD|EAJL_BABY);
if(.@to_class >= 0)
changebase .@to_class;
else
mes "[Suit Provider]", "I'm sorry, but your class is not supported.";
close;
secondclass:
.@eac = eaclass();
if(Upper)
.@to_class = roclass(.@eac&EAJ_UPPERMASK);
else
.@to_class = roclass(.@eac|JOBL_2_1);
if(.@to_class >= 0)
changebase .@to_class;
else
mes "[Suit Provider]", "I'm sorry, but your class is not supported.";
close;
reset:
changebase Class;
close;
miscsuits:
next;
mes "[Suit Provider]";
mes "Which of the suits would you like to use?";
menu "Xmas suit",xmas,"Summer suit",summer;
Question
IsabelaFernandez
Hi everyone.
I have a little problem with this script. the baby transformation isn't working on some and the ninja class and the Gunslinger aren't catching either. I would like a solution, thanks.
//####################################################
//# ™ #
//# ####### ###### ### ### ### ### ### ### #
//# ### ### ### ### ### ### ### ### ### #
//# ##### ### ### #### #### ##### #
//# ## ### ### ### ### ### ### ### #
//# ## ###### ### ### ### ### ### #
//# #
//####################################################
//v1.0: Allows changing suits to 3rd classes; #
//v1.1: Added Xmas and Summer suits; #
//v1.2: Added support to baby 3rd class suits. #
//####################################################
que_temsky,49,133,5 script Class Suits 485,{
OnCommand:
if(!vip_status(VIP_STATUS_ACTIVE)) {
message strcharinfo(0),"This service is only avaiaible to VIP players.";
end;
}
mes "[^00FF00Acesso VIP^000000]";
mes "Então, deseja mudar sua aparência?";
menu "Mudar para aparência 3rd.",thirdclass,"Mudar para aparência 3rd baby.",babythirdclass,"Second class",secondclass,"Voltar para o normal.",reset;
thirdclass:
.@eac = eaclass();
.@to_class = roclass(.@eac|EAJL_THIRD);
if(.@to_class >= 0)
changebase .@to_class;
else
mes "[Suit Provider]", "I'm sorry, but your class is not supported.";
close;
babythirdclass:
.@eac = eaclass();
.@to_class = roclass(.@eac|EAJL_THIRD|EAJL_BABY);
if(.@to_class >= 0)
changebase .@to_class;
else
mes "[Suit Provider]", "I'm sorry, but your class is not supported.";
close;
secondclass:
.@eac = eaclass();
if(Upper)
.@to_class = roclass(.@eac&EAJ_UPPERMASK);
else
.@to_class = roclass(.@eac|JOBL_2_1);
if(.@to_class >= 0)
changebase .@to_class;
else
mes "[Suit Provider]", "I'm sorry, but your class is not supported.";
close;
reset:
changebase Class;
close;
miscsuits:
next;
mes "[Suit Provider]";
mes "Which of the suits would you like to use?";
menu "Xmas suit",xmas,"Summer suit",summer;
xmas:
changebase 26;
close;
summer:
changebase 27;
close;
OnInit:
bindatcmd "visual","Class Suits::OnCommand";
end;
}
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.