DK22Pac/plugin-sdk

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

Opened this issue · 2 comments

Mezir commented

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

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.

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