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

[EO2.0] Stackable Currency?


Hornie Bear
 Share

Recommended Posts

Do us a favor & add stacking to your title somehow so people know what you are asking about currency, I am actually wondering about this myself, but I haven't come to the point where I need it yet..

I too have looked over the code & can't figure out how, why, & what makes currency stack.
Link to comment
Share on other sites

Does this help? I don't have time to dig into it right now.

```
Sub SetPlayerInvItemValue(ByVal Index As Long, ByVal invslot As Long, ByVal ItemValue As Long)
    ' If debug mode, handle error then exit out
    If Options.Debug = 1 Then On Error GoTo errorhandler

    If Index > MAX_PLAYERS Then Exit Sub
    PlayerInv(invslot).Value = ItemValue

    ' Error handler
    Exit Sub
errorhandler:
    HandleError "SetPlayerInvItemValue", "modDatabase", Err.Number, Err.Description, Err.Source, Err.HelpContext
    Err.Clear
    Exit Sub
End Sub
```
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...