Posts: 98
Threads: 21
Joined: Mar 2009
Reputation:
0
Im trying to script but I cant because my server is desynced so I cant work with my partner, you can talk, but you cant see the other person move or anything, it updates their position anywhere from 5 minutes to 40 minutes...
PLEASE HELP ME!!!
Posts: 918
Threads: 7
Joined: Aug 2007
Either your server is a piece of crap or the script is, If it takes 5 - 40 minutes for it to update that must be some major lag problems.
Posts: 98
Threads: 21
Joined: Mar 2009
Reputation:
0
Thanks for the constructive feedback, but it was working fine till today. I must have made some kind of ajustment to the script to make this happen, Im just asking if anyone has any idea why this may happen. I have great internet too. So its not that. I also have a very good computer. So its the script.
Posts: 918
Threads: 7
Joined: Aug 2007
Quote:
Originally Posted by Tyler_Idy
Thanks for the constructive feedback, but it was working fine till today. I must have made some kind of ajustment to the script to make this happen, Im just asking if anyone has any idea why this may happen. I have great internet too. So its not that. I also have a very good computer. So its the script.
|
Well its likely something to do with timers or OnPlayerUpdate, Have you done anything with either of the 2 lately?
Posts: 98
Threads: 21
Joined: Mar 2009
Reputation:
0
I made a timer to update the vehicle in my server, and I dont use OnPlayerUpdate yet.
Posts: 918
Threads: 7
Joined: Aug 2007
Quote:
Originally Posted by Tyler_Idy
I made a timer to update the vehicle in my server, and I dont use OnPlayerUpdate yet.
|
"update the vehicle", Can you be more clear about this?.
Posts: 270
Threads: 17
Joined: Jun 2009
Reputation:
0
Well updating every vehicle every second might be a bitting laggy...
Might want to remove that unless its completely necessary...
There are most likely better options then that anyways.
Posts: 98
Threads: 21
Joined: Mar 2009
Reputation:
0
What are some more sucsessful ways of achiving this?
Posts: 2,938
Threads: 162
Joined: May 2010
if(IsPlayerInRangeOfPoint(i,70,X,Y,Z))?
well.. like every 30 sec -1 min cus 70 is really far.. thats almost like whole of ls lol