Forum

> > CS2D > Servers > How to make system for payments?
Forums overviewCS2D overview Servers overviewLog in to reply

English How to make system for payments?

4 replies
To the start Previous 1 Next To the start

old How to make system for payments?

deividas270
User Off Offline

Quote
Hi, i want to have paid vips in my server and it would be good to have a system for payments. So player gets vip automaticly when he pays. How can i do that easy way. Should i use lua. And does lua support mysql?

old Re: How to make system for payments?

Apache uwu
User Off Offline

Quote
Ah, so when a user has paid for VIP via your website, a database table is stored to keep track of their powers?

It's nice to be organized, instead, you should use php/python or whatever to make the file within lua for vip powers.

Ex. If you were using amx2d (/user mod), then you could simply make 2 files usgn.cfg and username.cfg.

old Re: How to make system for payments?

deividas270
User Off Offline

Quote
Can lua read .txt and for example take all usgns from txt file? Maybe if i would use .txt database in my web... I could update usgns file in my pc from my web, but the problem is i dont know how to add something to txt file when user pays(payments should be via mobile so player would send some keywords like vipx14 *usgn* and then usgn goes to txt file). Please tell me how to do that? I will use webtomoney for that(i think thats how its called)(but im using lithuania version).

old Re: How to make system for payments?

oxytamine
User Off Offline

Quote
If you're interested in SMS payments - drop me a message, I'll give you a short number to accept payments. Also, text files is very bad idea, could be easily hacked. Please, consider using MySQL.
To the start Previous 1 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview