Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

dragonlord52

Members
  • Posts

    63
  • Joined

  • Last visited

    Never

Everything posted by dragonlord52

  1. Is there anyway to check if an item is stackable or not?
  2. Hehe, gotta love when ya overlook things…especially when you haven't posted it on the forums :p
  3. Yeah, we figured it out, he was just deleting his posts as he mentioned so it doesn't look like so. Thanks though. BTW, you don't need a second GetFreeItemSlot = 0 after the loop. It works fine without it as the initial value was never changed so it remains at 0.
  4. The body on the walking ones look like you cut it in half and moved it upward…at least to me it does xD
  5. rofl, okay you wont have to keep posting then ;) If anyone does happen across any bugs in my scripts I'll just add the dim and it should become bug free if I'm understanding this right. Thanks for the help AdrianC!
  6. Yeah, I just got it working before I looked on here and it seems we found the same mistake, haha. Could you tell me what Dim does though? Everything works without it so I haven't found what its useful for unless its a whole memory saving thing.
  7. still not working and I still get the taking too long thing. What does dim do anyway?
  8. Nope, isn't returning anything still. Oh yeah, before I forget it does tell me that the script is taking longer then normal to execute. Not sure why that is or if it effects it at all.
  9. For some reason this isn't working, can any of you help me with this? Since calling a function would be easier then typing out the same code over and over I would like to try to make this work. Yes, I am aware that there are codes for this already out there but that's not gonna help me learn as if I can't write a simple function then I wont be able to write a complex one when the time comes. All help is appreciated. Here is my script: > '\\\\\\\\\\\\\\\\\ GET FREE SLOT SCRIPT //////////////////////// > Function GetFreeItemSlot(Index) > slot = 1 > Do While int(slot) < 25 > If GetPlayerInvItemNum(Index, Int(slot)) = 0 Then > slot = 25 > GetFreeItemSlot(Index) = 1 > End If > Loop > End Function > '//////////////// END FREE SLOT SCRIPT \\\\\\\\\\\\\\\\\\\\\\\\\ And here is the Case: > Case 5 > If GetFreeItemSlot(Index) = 1 Then > Call PlayerMsg(Index, "Win", 14) > Else > Call PlayerMsg(Index, "Fail", 14) > End If > Exit Sub Thanks
×
×
  • Create New...