You can post this question in a dedicated forum for VB here
If the response helped, do "Accept Answer" and upvote it - Vaibhav
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm building a game in Visual Basic. Please help me. My game is a simcity style game. How money can be collected after a player leaves the game. That is, money is collected when the player is in the game. But no money is collected when a player leaves the game and enters tomorrow. Please help me.
Private Sub Money()
Dim money as Decimal = money.text
Dim moneyPlus as Decimal = "1"
Dim Strings as Decimal = money + moneyPlus
money = Strings
End SubPrivate Sub Timer1.Tick()
Money()
End Sub
I can use this code when a player is in the game. But I do not know what to do when the player is not in the game.
You can post this question in a dedicated forum for VB here
If the response helped, do "Accept Answer" and upvote it - Vaibhav