can i check if sa:mp is connected to server
#1

hello,

can i check if sa:mp is connected to server with C#?

thx.
Reply
#2

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?
Reply
#3

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.
Reply
#4

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.
Reply
#5

How do you define 'online'?
Reply
#6

Use a server monitor like www.game-monitor.com
Reply
#7

i meant to check if the player's client connected to a server, not if the server is running.
Reply
#8

Quote:
Originally Posted by dEzIRE
Посмотреть сообщение
i meant to check if the player's client connected to a server, not if the server is running.
Well, you cant play in the server if you arent connected.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)