plugin-sdk icon indicating copy to clipboard operation
plugin-sdk copied to clipboard

Is it possible to send player positions via websocket to the server?

Open Mezir opened this issue 4 years ago • 2 comments

Is it possible to send player positions via websocket to the server?

Mezir avatar Jan 31 '21 12:01 Mezir

If you're trying to write a MP mod, you probably want to use something based on UDP. If not, then just get the player's coordinates, serialise it somehow (I would use JSON) and ship that message over to the server.

alextwothousand avatar Sep 02 '24 11:09 alextwothousand

hey! u can check my MP for GTA:SA that uses plugin-sdk and enet network library https://github.com/Tornamic/CoopAndreas/

Tornamic avatar Sep 02 '24 17:09 Tornamic