open.mp forum
[Server] SA-MP protocol - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Support (https://forum.open.mp/forumdisplay.php?fid=12)
--- Thread: [Server] SA-MP protocol (/showthread.php?tid=617)



SA-MP protocol - steve2 - 2019-05-30

How do I can get an online and ping of a SA-MP servers? As I know, a SA-MP client sends UDP requests to the?server. There are?protocol description? Thx. Also I use Node.js


RE: SA-MP protocol - JustMichael - 2019-05-30

Hi, there is a library for this: https://github.com/JJJ4n/node-samp-query



This will query the server for you ;)


RE: SA-MP protocol - steve2 - 2019-05-30

(2019-05-30, 09:44 PM)JustMichael Wrote: Hi, there is a library for this: https://github.com/JJJ4n/node-samp-query



This will query the server for you ;)



It?works, I'm so happy! I also found this:?https://wiki.sa-mp.com/wiki/Query_Mechanism