Quote:
Originally Posted by ecca
Use a MySQL database that you insert into with PHP and then read it with sourcepawn
|
Yes, do this.
And since this involves real money, be super careful with how programs interact with your database is used. Make backups of the database as needed, make sure the values are properly stored. You don't want someone to buy credits and then see he has 0 because the PHP end screwed up somewhere or whatnot.
Also, uses threaded SQL queries when interacting with your database, so that the game server will not freeze while the query is in process.