Skip to content

Problem with loans #2

Open
Open
@GWhite01

Description

@GWhite01

Hi,
First of all I must tell you that you made an amazing job !

But here is my problem :
I read all your server script and I noticed that if a player that made a loan is connected while the cron job starts, he won't loose money.
For me if the player is connected, the change of his bank account in the database will be erased when he will be saved by the server.
I think you should first check whether or not the player is connected and then, if he is connected, you can remove his money directly with a xPlayer.removeAccountMoney

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions