SA-MP Forums Archive
Money Bug[REP] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Money Bug[REP] (/showthread.php?tid=640554)



Money Bug[REP] - OmerKhan - 04.09.2017

Hey, i use a gm but when players duel or go into dm and get killed and then come back again in freeroam, their cash is resetted, Need fix asap


Re: Money Bug[REP] - 1fret - 04.09.2017

Quote:
Originally Posted by OmerKhan
Посмотреть сообщение
Hey, i use a gm but when players duel or go into dm and get killed and then come back again in freeroam, their cash is resetted, Need fix asap
We cant fix without even seeing some of your codings, even though the issue seems to be an server sided cash system on the gamemode


Re: Money Bug[REP] - OmerKhan - 04.09.2017

I am using Redrex Freeroam Build 2, nothing edited/added by myself. All done by him


Re: Money Bug[REP] - Kane - 04.09.2017

Show the code related to your problem then. It's like you think we know what's inside that specific script.


Re: Money Bug[REP] - OmerKhan - 04.09.2017

https://pastebin.com/raw/5dx8edsm

NOTE: /setcash cmd is in Gadmin v2 xd


Re: Money Bug[REP] - Kane - 04.09.2017

Like I said, show the code related.

There's 8,000 lines of code in that pastebin.


Re: Money Bug[REP] - OmerKhan - 04.09.2017

Bro how, i don't know wheres the error?

Like the money isn't being saved permanently, i want that whether players duel or go in dm, their money remain same after quitting.Atm when a player joins DM or duels somone, money are resetted to 0


Re: Money Bug[REP] - Kane - 04.09.2017

It gets reset because it's never saved. You need a saving system.


Re: Money Bug[REP] - OmerKhan - 04.09.2017

bro i have saving system pls help

U can ask anyone, All things save

Even money also save but it dosent saves temporarily. Like it is reseted to 0 when join DM or duel