Jump to content

Xuranha

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Xuranha

  1. Hello good night, I would like a script that puts the lv 10 account as soon as the person logs in for the first time and gets kicked to update.

    Anyone who already has a lv 10 account doesn't need to do anything obvious.

    I tried but was unsuccessful, could you help me?

     

    Quote

    -    script    acclv10    -1,{

    OnPCLoginEvent:
    if(#japegou != 1){
    mes "Bem-vindo ao Oasis!";
    mes "Vou te desconectar apenas para atualizar sua conta.";
    close2;
    query_sql "UPDATE `login` SET `level`='10', WHERE `account_id` = '"+ getcharid(3) +"'";
    set #japegou,1;
    atcommand "@kick "+strcharinfo(0);
    end;
    }else{
    end;
    }
    }

     

×
×
  • Create New...