Jump to content
  • 0

Cash Point and Free Cash Clash data


bertpatz

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   1
  • Joined:  05/17/12
  • Last Seen:  

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

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1678
  • Reputation:   704
  • Joined:  12/21/14
  • Last Seen:  

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

Link to comment
Share on other sites

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.

×
×
  • Create New...