Results 1 to 2 of 2

Thread: Action para retirar dinheiro

  1. #1
    Premium User
    Join Date
    Feb 2012
    Posts
    29
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5

    Action para retirar dinheiro

    Peguei a action na seção de tutoriais, mas adicionei o "Travel Money" e o "Food money", aí meu char só para em frente o bando e sai andando. Alguém sabe o que está errado?


    local SpearMoney = positive(SpearMax - weaponamount) * SpearPrice
    local ManaMoney = positive(MPmax - itemcount(MPtype)) * MPprice
    local TravelMoney = 300
    local FoodMoney = positive(FoodMax - itemcount(Foodtype)) * FoodPrice
    local All = SpearMoney + ManaMoney + Travel Money + FoodMoney

    depositall()
    npcsay("withdraw "..All) wait(1000)
    npcsay("yes") wait(1000)

    Obrigado.

  2. #2
    Premium User
    Join Date
    Feb 2012
    Posts
    29
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    Resolvido, era o "Travel Money" que tava separado no "local all".

Posting Permissions

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