Mirage Source
Elysium Sell Error - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Elysium Sell Error (/showthread.php?tid=2627)



Elysium Sell Error - Nean - 17-03-2009

Something in Elysium is broken (all of it ;D), I'm trying to get it so that it doesn't display items that are worn to sell.

Code:
For I = 1 To MAX_INV

        If GetPlayerInvItemNum(MyIndex, I) > 0 Then
            
            frmSellItem.LstSellItem.AddItem I & " " & Item(GetPlayerInvItemNum(MyIndex, I)).Name & " - " & Item(GetPlayerInvItemNum(MyIndex, I)).Price
        Else
            frmSellItem.LstSellItem.AddItem "None"
        End If

    Next

I've tried doing stuff like:

Code:
If I  GetPLayerWeaponSlot(index) Then
Etc, etc. I'm most likely missing something obvious, but any pointers would be appreciated.


Re: Elysium Sell Error - Robin - 17-03-2009

This isn't an Elysium support forum.


Re: Elysium Sell Error - William - 18-03-2009

Unlocked, we should support any Visual Basic questions that fits under Technical Assistance.


Re: Elysium Sell Error - Robin - 18-03-2009

"Concerning the use of Mirage Source"

It's your call though Tongue


Re: Elysium Sell Error - Matt - 18-03-2009

"as well as easy coding questions."