Jump to content

Codeine

Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Codeine

  1. I have no idea how to start really. been messing with this all day, i wrote inventories and stuff like that but i cant get this one to work.
  2. You dont really understand. Lets say i do it serverside. What you are telling me to try is basically resetting everything as soon as a new player joins, and send it to everyone. Since the ped doesnt exist for the new player, it needs to create it, and if it creates it, it resets everything.
  3. so basically having a bunch of peds in a spot moving around at the same time for everyone is impossible.
  4. so basically send everything from server to all online clients and when a new player comes it requests the stuff from one of the clients and starts it? there would be alot of desync probably. What i want to achieve is random peds walking around randomly, at the same position for everyone in any case. And desyncing wouldnt be so good.
  5. Yeah but lets say you start a ped walking, and a new player logins while its walking. the new player wont see the ped walking, just doing nothing.
  6. I haven't done anything yet since i dont think its actually possible. It would be if i would save the position to mySQL with onClientRender and load that for the another player, but there probably would be lag and it wouldnt sync probably anyways.
  7. I know about that, the question was about ped syncing. You dont really understand what im trying to say. Lets say there is an online player, next to a ped, and that ped is walking from point a to point b. when that ped is around middle way, some other player joins the server, and the ped needs to be at that exact same position and do the tasks it started while the other player was online. So basically sync the same thing for the new player, at the same time.
  8. Hello, Im trying to create animals just randomly walking around in the desert, and i have no idea how to do the syncing between online players, and the people who are coming online. Doing a MySQL query on onClientRender to save position is not an option, i dont want everything to lag. Any idea? Thanks
×
×
  • Create New...