Posts: 8
Threads: 3
Joined: Mar 2009
Reputation:
0
hello,
can i check if sa:mp is connected to server with C#?
thx.
Posts: 781
Threads: 12
Joined: May 2011
Reputation:
0
It's hard trying to understand what you are saying. Are you asking if there is a possible way of checking if Your SA:MP Server is connected?
Posts: 1,057
Threads: 90
Joined: May 2009
Reputation:
0
No, he means checking if a server is online via C#. Like, creating a program which will check if a server is online or offline.
Posts: 2,082
Threads: 118
Joined: Jan 2010
Reputation:
0
Mm, you could ping the server, to see if you receive response? Other than that I don't think so (unless you were to implement/port the server query API (by Westie?) into C# then use that.
Posts: 624
Threads: 38
Joined: Feb 2010
Reputation:
0
How do you define 'online'?
Posts: 8
Threads: 3
Joined: Mar 2009
Reputation:
0
i meant to check if the player's client connected to a server, not if the server is running.