Jump to content

Get positions from server


benadzs

Recommended Posts

Hi.

I want get some data from the server, for example position of car, vehicle name etc...

I succeeded but this is overkill, i get the datas with http connect and PHP SDK.

If it will use 50 player and i want refresh the datas with 0.5 sec... i think it's not too friendly.

Any good idea?

Link to comment
On 23/09/2018 at 22:43, benadzs said:

Hi.

I want get some data from the server, for example position of car, vehicle name etc...

I succeeded but this is overkill, i get the datas with http connect and PHP SDK.

If it will use 50 player and i want refresh the datas with 0.5 sec... i think it's not too friendly.

Any good idea?

When data updates, Use "remoteCall" then save the new Datas in PHP.
And for avoid the spam from "remoteCall" don't send directly after data updates, Collect it with another data in 5 second then send the collect of Datas.

 

 

  • Like 1
Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...