Data Communication
#2

You can possibly allow your application to communicate with MySQL.
If the application is running, it could set a specific value to 1, and if the application is closed, reset it to 0.
Then you can simply query your database from within pawn and check that value.
If it's 1, allow the player to connect.
If it's 0, kick him upon connecting with an error-message.

Also, you could add the same to a timer that runs every 5 seconds or so.
Then you can detect if the player has ended his application while being connected and you can kick him.
Reply


Messages In This Thread
Data Communication - by ipsLuan - 03.03.2015, 22:16
Re: Data Communication - by PowerPC603 - 04.03.2015, 10:59
Re: Data Communication - by ikey07 - 04.03.2015, 11:09
Re: Data Communication - by ev0lution - 04.03.2015, 11:18
Re: Data Communication - by ipsLuan - 04.03.2015, 12:42

Forum Jump:


Users browsing this thread: 2 Guest(s)