SA-MP Forums Archive
How to create a Auto buy for ini system ? ( +REP ) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to create a Auto buy for ini system ? ( +REP ) (/showthread.php?tid=551219)



How to create a Auto buy for ini system ? ( +REP ) - AmirSlaYeR - 17.12.2014

Hi All
How to create a Auto buy for ini system ?
Example Buy coin in Website And Player Get Coin in The Game ?
my system is Y_ini
Please Help me
+Rep To Helper

ThankS


Re: How to create a Auto buy for ini system ? ( +REP ) - AmirSlaYeR - 17.12.2014

Not Any Helper ?!
Cant ?


Re: How to create a Auto buy for ini system ? ( +REP ) - M4D - 17.12.2014

maybe with Rcon commands
(Sending rcon command to server from website)
i didn't test it !
but in other ways its impossible


Re: How to create a Auto buy for ini system ? ( +REP ) - AmirSlaYeR - 17.12.2014

Can You Say More information ?
how to send rcon command to server from website ?
please help me


Re: How to create a Auto buy for ini system ? ( +REP ) - SickAttack - 17.12.2014

Use MySQL/sockets.


Re: How to create a Auto buy for ini system ? ( +REP ) - M4D - 17.12.2014

you can make custom rcon command with "OnRconCommand" and send them to server
my friend made a system that register players from website ! and make .ini file for them
i don't actually know how he made it but i know he used OnRconCommand
if you use MySQL it very simple to make automatic shop


Re: How to create a Auto buy for ini system ? ( +REP ) - AmirSlaYeR - 17.12.2014

@SickAttack Man i dont know mysql ! For Create it !
@ M4D Please give link to your friend system , i can Use ini And Mysql ? Coin System with mysql for buy and other with ini ? example buy 100 Coin At Website ( Mysql) And Buy a Vip in Game With 100 coin on Ini , We Can ? Help Please


Re: How to create a Auto buy for ini system ? ( +REP ) - M4D - 17.12.2014

he didn't release his gamemode !
yes you can make a table for coins for example !
and when someone buy coin, UPDATE row that playername in it
when player wants to but VIP get coin field and store it into a variable ! then use it anywhere you want !


Re: How to create a Auto buy for ini system ? ( +REP ) - AmirSlaYeR - 17.12.2014

thanks M4D