Jump to content

xrein

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by xrein

  1. thanks for the fast reply, but what is the use of the next variables after the sql query??



    here is my code, but when i clicked my npc it wont talk haha

     

     

        set .@nb, query_sql("SELECT `name`, `account_id` FROM `char` ORDER BY `account_id` ASC LIMIT 5", .@name$, .@account_id);
        mes "[Character List]";
        for(set .@i,1; .@i <= .@nb; set .@i,.@i+1){
            mes .@i+". "+.@name$[0]+" ("+.@account_id[0]+")";
        }
  2. is there a script that allow me to connect to database so that i can select all data i need then display it on the npc??

     

    thanks

     

    ---

    im planning to make a npc that use @slaveclone then slaveclone all existing characters on the database

×
×
  • Create New...