Resultados 1 a 1 de 1

Tópico: Comando lluvia

  1. #1
    Iniciante minato3205's Avatar
    Data de Ingresso
    Oct 2015
    Posts
    1
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    1
    Thanked in
    1 Post
    Mencionado
    0 Post(s)

    Post Comando lluvia

    para los entendidos en el tema de desarrollo, dropeara cualquier item que coloquen en forma de lluvia como verán en el ejemplo.

    les sera util a los GM para hacer eventos

    Código:
    int section = this->GetNumber(arg,0);    int type = this->GetNumber(arg,1);
        int level = this->GetNumber(arg,2);
        int skill = this->GetNumber(arg,3);
        int luck = this->GetNumber(arg,4);
        int option = this->GetNumber(arg,5);
        int exc = this->GetNumber(arg,6);
        int set = this->GetNumber(arg,7);
        
        for(int n=0;n < 15;n++)
        {
        GDCreateItemSend(lpObj->Index,lpObj->Map,(lpObj->X+(((GetLargeRand()%5)*2)-4)),(lpObj->Y+(((GetLargeRand()%5)*2)-4)),GET_ITEM(section,type),level,0,skill,luck,option,-1,exc,set,0,0,0,0xFF,0);
        }
    [Somente membros podem ver os links. ]

    Nota
    cualquier mejora en el código se agradece
    PD: basado en Emu,xteam

    Creditos:
    MinatoRx

  2. The Following User Says Thank You to minato3205 For This Useful Post:


Permissões de Postagem

  • Você não pode iniciar novos tópicos
  • You may not post Resposta(s)
  • Você não pode enviar anexos
  • Você não pode editar suas mensagens
  •  
Sobre nós
Somos uma comunidade em atividade a 8 anos que aborda assuntos relacionados a games em geral, principalmente games MMORPG. e que busca sempre ajudar os membros através de conteúdos, tutoriais e suporte...
Nossos anunciantes
Hinetworks
VelozHost
InovHost
Rede Sociais