spawning cars randomly; problem with getting script to work
#4

That's not the problem Sfinx. I believe that a contributing factor is lag.. When using 'SetPlayerPosFindZ' there is going to be a lagging moment.

Here's an example:
Let's say you type this and there is a 50 millisecond ping. That's 50 milliseconds it takes for you to see server activity after it has happend, and vice versa (your activity to the server). If you use SetPlayerFindZ and then immediatly use GetPlayerPos, it's going to receive the player's current position that the server has stored in it's memory, but the SetPlayerFindZ still has 50 milliseconds before the player is moved, and then another 50 milliseconds before the server picks up on the player having been moved. So in essence, your 'find a random position and retrieve it's coordinate' isn't going to work.
Reply


Messages In This Thread
spawning cars randomly; problem with getting script to work - by adamulator - 29.11.2009, 05:06
Re: spawning cars randomly; problem with getting script to work - by Kinetic - 29.11.2009, 07:08
Re: spawning cars randomly; problem with getting script to work - by Sfinx_17 - 30.11.2009, 11:56
Re: spawning cars randomly; problem with getting script to work - by Joe Staff - 30.11.2009, 16:25

Forum Jump:


Users browsing this thread: 2 Guest(s)