Saving On Hand Money / Bank Problem
I am having a problem with a saving on hand money plugin that bugsy posted a while back
*mp_startmoney set to 800 If a user disconnects with 16000, and reconnects back to the server, his money is restored back to 16000, which is correct. The problem occurs when someone joins the server, and another person joins. (Game Will Start In 3.2.1 is initialized) and when that happens the money that was loaded, disappears and you get whatever mp_startmoney is set to (16000 becomes 800). Plugin (Restore Money by Bugsy): Code:
#include <amxmodx> |
Re: Saving On Hand Money / Bank Problem
bump -.-
|
Re: Saving On Hand Money / Bank Problem
You have to add the new game event and then force load money from saved data, maybe someone more experienced in global events can help you giving the right register_event.
|
Re: Saving On Hand Money / Bank Problem
1 Attachment(s)
Try This:
http://blzd.tk/img/download.png |
Re: Saving On Hand Money / Bank Problem
I believe it doesn't work, i still need to do further testing..kinda hard finding time especially when like at school the whole day -.-
|
Re: Saving On Hand Money / Bank Problem
Haven't looked into the code, but from what you are saying, just save in round restart event with global array, also add global that will show round is retarting, then in HLTV event check that global and set that money from array.
|
Re: Saving On Hand Money / Bank Problem
Easiest fix. Not tested.
Code:
|
| All times are GMT -4. The time now is 15:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.