Results 1 to 6 of 6

Thread: como fazer o char contar 40 enchanted spear? preciso de um check que faça isso.!!

  1. #1
    iBot User
    Join Date
    Sep 2012
    Posts
    244
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    16
    Rep Power
    5

    Question como fazer o char contar 40 enchanted spear? preciso de um check que faça isso.!!

    como fazer o char contar 40 enchanted spear? preciso de um check que faça isso.!!

  2. #2
    Banned
    Join Date
    Jun 2012
    Location
    Ceará
    Posts
    2,114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    81
    Rep Power
    0
    Bom, você quer a contagem mas não especificou para que então vou te mandar uma base.
    Code:
    if itemcount("enchanted spear") + weaponamount == 40 then gotolabel("depot") end

  3. #3
    iBot User
    Join Date
    Sep 2012
    Posts
    244
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    16
    Rep Power
    5
    essa actin ta errada/;

  4. #4
    Banned
    Join Date
    Jun 2012
    Location
    Ceará
    Posts
    2,114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    81
    Rep Power
    0
    Não ta, só que ela conta 40, você pode usar >= no lugar de ==

  5. #5
    Normal User
    Join Date
    Jun 2012
    Posts
    119
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    If itemcount("enchanted spear") == 40 then playsound("alert.wav") end


    vc esta fazendo enchanted spears?
    essa action quando voce tiver 40 ela vai apitar
    Do you want good scripts for free?
    *Check my script thread >>>>HERE<<<<

  6. #6
    Normal User
    Join Date
    Sep 2012
    Posts
    123
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Code:
    if Self.Weapon().id == itemid("enchanted spear") then
    	AMMOCOUNT = (weaponamount + itemcount("enchanted spear"))
    else
    	AMMOCOUNT = (itemcount("enchanted spear"))
    end
    
    if AMMOCOUNT >= 40 then
    	blablabla
    end
    Last edited by scariotz; 01-31-2013 at 06: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
  •