Results 1 to 3 of 3

Thread: Action for RP

  1. #1
    Normal User
    Join Date
    Sep 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Action for RP

    i need action for
    if x count monster around change bow/crossbow to shield+star when kill them re equip bow/crossbow back

  2. #2
    iBot User walukasz's Avatar
    Join Date
    Feb 2012
    Location
    Poland
    Posts
    312
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    25 Post(s)
    Reputation
    67
    Rep Power
    5
    PHP Code:
    local WeaponName "royal crossbow"
    local ShieldName "mastermind shield"
    local Monsters = {"Lizard Chosen""Demon""Orc"}
    local MonsterCount 5

    if maround(7unpack(Monster)) < MonsterCount and weapon ~= itemid(WeaponNamethen
    moveitems
    (WeaponName"all""weapon"1)
    elseif 
    maround(7unpack(Monster)) >= MonsterCount and (weapon ~= itemid("assassin star") or shield ~= itemid(ShieldName)) then
    moveitems
    ("assassin star""all""weapon"100)
    wait(150200)
    moveitems(ShieldName"all""shield"1)
    end 

  3. #3
    Normal User
    Join Date
    Sep 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    its work thx
    u need to change line 3 Monsters to Monster
    +rep

Posting Permissions

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