Jump to content
  • 0

Cash Point and Free Cash Clash data


Question

Posted

Hello i've bit a problem in my database,

so i'm using this npc for donation:

 turn out its resetting when i'm adding Cash Point manual using command @cash
but its work fine after adding via npc again ,

and i've problem with ID who's i add free cash to their account using command @points
the cash point not accumulated via NPC, instead just keep adding new value

should i delete free cash data ? or any suggest to fix this

Thank you very much

 

1 answer to this question

Recommended Posts

  • 0
Posted

i didn't understand what the problem really

but

i would say at the line 154

this line

set #CASHPOINTS, @Donation_Code$;

this will replace all the cash points you have with the value from the npc

so it should be 

set #CASHPOINTS, #CASHPOINTS + @Donation_Code$;

this will add the value from the script to the cash points

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...