setplayerpos laggs up the player on spawn?
#2

Is this server performance lag or framelag?

As in:
Server performance lag: The script 'freezes' for a second or two.
Framelag: The player freezes for a second or two.

Server performance lag can easily be detected by using a check of how long it took to complete the code with GetTickCount() and print():
pawn Код:
new tc = GetTickCount();
new pRandom = random(sizeof(SFRandom));
        SetPlayerPos(playerid,SFRandom[pRandom][0],SFRandom[pRandom][1],SFRandom[pRandom][2]);
printf("Ticks: %d", GetTickCount() - tc);
Reply


Messages In This Thread
setplayerpos laggs up the player on spawn? - by 0ne - 17.11.2010, 16:17
Re: setplayerpos laggs up the player on spawn? - by Hiddos - 17.11.2010, 16:19
Re: setplayerpos laggs up the player on spawn? - by Zh3r0 - 17.11.2010, 16:20
Re: setplayerpos laggs up the player on spawn? - by 0ne - 17.11.2010, 17:02
Re: setplayerpos laggs up the player on spawn? - by 0ne - 18.11.2010, 12:39

Forum Jump:


Users browsing this thread: 3 Guest(s)