SA-MP Forums Archive
Help About Instant Payment - 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: Help About Instant Payment (/showthread.php?tid=595177)



Help About Instant Payment - SWAT4 - 29.11.2015

Hello Guys, I've been searching today for the instant payment thingy,
and i found that vince said the following

Quote:

You can use the socket plugin. It's fairly simple in use. Open a listening TCP socket on the SA-MP server. When data is sent from your source (PHP in this case) a callback will be called and you can execute functions of your choice.

http://www.php.net/manual/en/function.socket-create.php
http://www.php.net/manual/en/functio...et-connect.php
it seems bit complicated for me, so if someone can simplify it for me step to step i'd be very grateful , thanks