Results 1 to 2 of 2

Thread: Quebrar bamboo?

  1. #1
    Normal User jNo The Best's Avatar
    Join Date
    Jun 2012
    Posts
    161
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    10
    Rep Power
    5

    Quebrar bamboo?

    To fazendo um script dos Dworc, criei uma action em cima do sqm onde nasce o bamboo, só preciso de um codigo que quebra o bamboo com a arma que ta na mão do char ou machete
    Last edited by jNo The Best; 05-05-2014 at 03:20 PM.

  2. #2
    iBot User
    Join Date
    Jul 2012
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    5
    PHP Code:
    local posx XXXXX
    local posy 
    YYYYY
    local posz 
    ZZ
    local weapon 
    "machete"
    bamboo 1000 ---- Bamboo Wall ID (Change)
     
    while 
    toptileitem(posxposyposz) == bamboo do
    useitem(weaponposxposyposz)
    wait(200,400)
    end 
    No lugar do X,Y,Z la em cima, coloca onde esta a wall, se ajudou rep+
    Last edited by maicoln; 05-06-2014 at 08:21 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •