Any function to fix desync a bit?
#7

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;
	}
Reply


Messages In This Thread
Any function to fix desync a bit? - by Shellegg - 17.06.2009, 18:16
Re: Any function to fix desync a bit? - by Luka P. - 17.06.2009, 18:17
Re: Any function to fix desync a bit? - by Shellegg - 17.06.2009, 18:29
Re: Any function to fix desync a bit? - by Luka P. - 17.06.2009, 18:38
Re: Any function to fix desync a bit? - by yezizhu - 18.06.2009, 02:25
Re: Any function to fix desync a bit? - by HuRRiCaNe - 18.06.2009, 04:12
Re: Any function to fix desync a bit? - by Tenshi - 18.06.2009, 09:10

Forum Jump:


Users browsing this thread: 1 Guest(s)