![]() |
Viewing a Page Adds and/or Takes Away Money
First of all, I am really sorry if someone already asked this, I looked and couldn't find anything.
How can you make it so when a player views a page, a certain amount of their money is taken away or added? I am really new to coding and trying to figure everything out. Thanks it advance. :) |
I'm not sure if you already got an answer to this since yet since you posted this question awhile ago, but since there are no replies yet, I'll give you the most basic script I can think of.
Quote:
|
Thank you so much. :)
|
Well I'd say use $loggedinname instead of $GLOBALS['username'] if you can. The superglobal arrays are both insecure and slow, I've actually gotten rid of all of them in the next release. It is convenient to use though, which is why we used to be doing it this way.
|
Alright! Thanks :)
|
All times are GMT -5. The time now is 12:21 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.