2019-05-30, 09:40 PM
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
[Server] SA-MP protocol
|
2019-05-30, 09:40 PM
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
2019-05-30, 09:44 PM
Hi, there is a library for this: https://github.com/JJJ4n/node-samp-query
This will query the server for you ;)
Remember to always refer to J0sh as `J0sh...`
@ Networks/Servers San Andreas Gaming Network (Owner/Founder) San Andreas Gaming (Owner/Founder) Grand Theft Cop's n Robber's (Owner) Britannia Roleplay (Owner/Founder) [Retired] Alpine RP (Owner/Founder) Aluminium Network (Maintainer) [Disbanded] AlphaDM (Tech Support) [Disbanded] # Services forum.open.mp (Forum Manager) (Formerly Burgershot.gg) open.mp (Member) ~ Languages/Frameworks Pawn, C, C, C#, Javascript, Typescript, Lua, Python, Go, Rust, PHP, SQL, Angular, React, Vue, Svelte, Laravel, Rocket
2019-05-30, 10:01 PM
(2019-05-30, 09:44 PM)JustMichael Wrote: Hi, there is a library for this: https://github.com/JJJ4n/node-samp-query It?works, I'm so happy! I also found this:?https://wiki.sa-mp.com/wiki/Query_Mechanism |