SA-MP Forums Archive
c# 'i' opcode - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: c# 'i' opcode (/showthread.php?tid=301676)



c# 'i' opcode - pantelimonfl - 05.12.2011

I tried to show in my program the server info, but the Receive() function is an int and i don't know how i can show the hostname, mapname etc.

Код:
 Query.Query sQuery = new Query.Query("127.0.0.1", 7777);

            sQuery.Send('i');
Here i stopped because i don't know how to write hostname, mapname and gamemode text