DK22Pac / plugin-sdk

An SDK for developing ASI/CLEO plugins for GTA San Andreas, GTA Vice City and GTA III
zlib License
435 stars 118 forks source link

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

Open Mezir opened 3 years ago

Mezir commented 3 years ago

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

alextwothousand commented 1 month ago

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.

Tornamic commented 1 month ago

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