Results 1 to 3 of 3

Thread: Substituo isso por qual função?

  1. #1
    iBot User
    Join Date
    May 2012
    Posts
    49
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    5

    Substituo isso por qual função?

    PHP Code:
    string bps "red backpack";
    if(
    itemcount(itemid(bps),getbpindex(bps)) ==1
      { 
          
    openitem(itemid(bps),getbpindex(bps)); 
          
    gotolabel("dropitens");

    Alguém poderia arrumar para mim?

  2. #2
    Banned
    Join Date
    Jul 2012
    Location
    Santa Cruz do Sul - RS
    Posts
    867
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    21
    Rep Power
    0
    PHP Code:
    BP_NAME 'red backpack'

    closewindows()
    wait(500)
    openitem(BP_NAME'back')
    wait(500)
    gotolabel('dropitens'

  3. #3
    iBot User
    Join Date
    May 2012
    Posts
    49
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by Sayildd View Post
    PHP Code:
    BP_NAME 'red backpack'

    closewindows()
    wait(500)
    openitem(BP_NAME'back')
    wait(500)
    gotolabel('dropitens'
    Então bro, e o getbpindex?

Posting Permissions

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