Jump to content

Ped Client side visible server side.


Tekken

Recommended Posts

Posted

HI,

I have a DayZ server and I want to make a new zombie spawn system the current one is like this:

5 secounds > check if player is around objects > if not spawn ped 8-20m distance and 1-3m altitude.

So I want to make a spawn table and when server start to spawn peds from the table, but this will make big lag, a few days ago i've seen on a server that they calculate ped on client and sync them with server.

My question is how to do it?

Posted
You could do the timer and the calculations client-side and when ready send the coords server-side.

Thank's but I found a beter way.

Posted
Then you should post it for future reference.

It's hard to explain, but,

Ped spawn points are stored in *.map files on a player reach certain request's the client ask server to spawn a ped in certain spawnpoints, from the *.map files.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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