SA-MP Forums Archive
Any function to fix desync a bit? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Any function to fix desync a bit? (/showthread.php?tid=82354)



Any function to fix desync a bit? - Shellegg - 17.06.2009

Is there any function that fix the desync a bit?
I think i already heard about this and the GF mode have it.


Re: Any function to fix desync a bit? - Luka P. - 17.06.2009

What you want desync?


Re: Any function to fix desync a bit? - Shellegg - 17.06.2009

fix the desync.

I want a server "more synchronizided"


Re: Any function to fix desync a bit? - Luka P. - 17.06.2009

I think that isn`t possible


Re: Any function to fix desync a bit? - yezizhu - 18.06.2009

To call your players to a net bar,than create a LAN server,play it,almost no lag.
It's too hard?Yes,but far easier than finding/using function to.
Just a joke^^


Re: Any function to fix desync a bit? - HuRRiCaNe - 18.06.2009

YES , it is possible to fix when u are dsync :P you have to use
a command like spawnplayer something like that i dont remember :P


Re: Any function to fix desync a bit? - Tenshi - 18.06.2009

Quote:
Originally Posted by BiG_Sm0k3
YES , it is possible to fix when u are dsync :P you have to use
a command like spawnplayer something like that i dont remember :P
Код:
// by: Tenshi @ http://samp.truceco.com ;D	
if (strcmp(cmd, "/sync", true) == 0) // your code might look different from here... just make the changes.
	{
	if(IsPlayerInAnyVehicle(playerid))
    {
    SendClientMessage(playerid,0xD8F6F6FF,"Vehicle Conflict: You must first exit Vehicle first to use this command.");
 
	return 1;
	}
		new Float:X,Float:Y,Float:Z,Float:A;
		GetPlayerPos(playerid,X,Y,Z);
		GetPlayerFacingAngle(playerid,A);
		SpawnPlayer(playerid);
		SetPlayerPos(playerid,X,Y,Z);
		SetPlayerFacingAngle(playerid,A);
		PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); // sound...oooo...pretty...
		SendClientMessage(playerid,0xD8F6F6FF,"You've Sync'd");
		return 1;
	}