• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • FreeItemSlots not returning values

    Discussion in 'Community Developer Forum' started by Paratax, Aug 29, 2015.

    1. Paratax

      Paratax New Member

      Joined:
      Nov 29, 2012
      Messages:
      28
      Likes Received:
      1
      Trophy Points:
      3
      Hey,

      I am trying to use the FreeItemSlots to check my available inventory space. But no matter how I try it, it seems either there is no value returned or it is smaller than all numbers I entered. Any hint how to get the correct amount of free space in my inventory?

      Code:
      <If Condition="FreeItemSlots &lt; 2">
          <LogMessage Message="Less than 2" />
      </If>		
       
    2. kagamihiiragi17

      kagamihiiragi17 Community Developer

      Joined:
      Jun 24, 2014
      Messages:
      873
      Likes Received:
      25
      Trophy Points:
      0
      Try

      Code:
      <If Condition="FreeItemSlots() &lt; 2">
          <LogMessage Message="Less than 2" />
      </If>
       

    Share This Page