Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Djazlizh

Pages: [1]
1
Script Debug / I can't locate your archery weapon
« on: November 15, 2013, 01:12:48 AM »
I got this part of a script I try to use, but it gives me an error and stops, it says  : I can't locate your archery weapon
I play on a freeshard called ABCUO, dont know if it has anything to do with that ?


Script part below :


Code: [Select]
sub SetupWeapon
  finditem %1 C_ , #CHARID
  if #FINDKIND = -1
  {
    finditem %1 C_ , #BACKPACKID
    if #FINDKIND <> -1
    {
      if #FINDTYPE in PPO
        set #LHANDID %1
      else
        set #RHANDID %1
    }
    else
    {
      display ok I can't locate your archery weapon
      stop
    }
  }
  else
  {
    gosub DisarmWeapon
  }
  if #FINDTYPE in %crossbowtypes
  {
    menu Font BGColor BtnFace
    menu delete EUOLabel32
    menu Text EUOLabel32 176 196 Bolts
    set %ammotype LNK ; LNK - crossbow bolts
  }
  else
  {
    menu Font BGColor BtnFace
    menu delete EUOLabel32
    menu Text EUOLabel32 176 196 Arrows
  }
return

Post Merge: November 15, 2013, 03:21:37 AM
I found a work around and made it work now.... thanks :-)

2
New member introductions / Hello everyone, a little bit about me !
« on: November 11, 2013, 12:36:02 AM »

Pages: [1]