Jump to content

Question

Posted

This npc he only allows the entry of Creators in a room that server to grow, I wish he would let in as much creators as alchemists.

if (Class == 4019) {

I do not know how to make this line to add another class id

 

 

prontera,129,216,4    script    Sala de Cultivo    975,{
set @name$,"[ ^CC00CCSala de Cultivo^000000 ]";
set $lugar$,"sec_in02";
set @corx,19;
set @cory,30;
if(Class == 4019){
mes @name$;
mes "Olá, Sou o Teleportador para a Sala de Cultivo.";
mes "Ela pode ser utilizada para facilitar a vida de cultivo dos criadores.";
mes "Você deseja entrar nela?";
if(select("Acessa-lá:Não, obrigado") == 2){
mes @name$;
mes "Volte quando precisar de meus serviços";
close;
}
mes @name$;
mes "Está bem, bom proveito";
close2;
warp $lugar$,@corx,@cory;
end;
}
mes @name$;
mes "Desculpe-me, nesta sala apenas é permetido Criadores";
close;
}
sec_in02,14,34,4    script    Saída     47,{
    mes "Olá "+StrCharInfo(0)+"!";
    mes "Deseja ir para algum dos lugares abaixo?";
    next;
    switch(select("Prontera")){
        case 1:
            mes "Até mais!";
            close2;
            warp "prontera",134,211;
            end;
    }
}

4 answers to this question

Recommended Posts

Posted (edited)
prontera,129,216,4    script    Sala de Cultivo    975,{
set @name$,"[ ^CC00CCSala de Cultivo^000000 ]";
set $lugar$,"sec_in02";
set @corx,19;
set @cory,30;
if(Class == 4019){
mes @name$;
mes "Olá, Sou o Teleportador para a Sala de Cultivo.";
mes "Ela pode ser utilizada para facilitar a vida de cultivo dos criadores.";
mes "Você deseja entrar nela?";
if(select("Acessa-lá:Não, obrigado") == 2){
mes @name$;
mes "Volte quando precisar de meus serviços";
else
{
mes @name$;
mes "You are not a creator dude!!";
close;
}
}
 

hope this could work.

Edited by Rayan
  • Upvote 1
Posted

Hello good day, I think you misunderstand, this script he jápermite entry Breeders, I would let it go Alchemists and Creators

If the id of the alchemist is 18, how do I make this line to get the class in DEIX id 18 and 4019?


so?
if (Class == 4019.18) {

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...