SA-MP Forums Archive
little problem - 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)
+--- Thread: little problem (/showthread.php?tid=341872)



little problem - faff - 12.05.2012

i got an showplayerdialog added

the interpolatecamerepos works... but the problem is... he dont close the camere movement.
Someone know how?: (
Код:
		    case 1000:
		    {
		        switch(listitem)
				{
		        	case 0:
		        	{
MoveObject(prison2, 1278.40002441,-2578.60009766,1.00000000, 2.5, 0.0, 0.0, 90.0);
MoveObject(prison1, 1265.00000000,-2578.39990234,-3.09999990, 2.5, 0.0, 0.0, 90.00000000);
SetTimer("PRISON1", 300000, false);
SetTimer("PRISON2", 300000, false);
CreateExplosion(1264.60, -2577.73, 3.25, 2, 10.0);
CreateExplosion(1279.60, -2578.18, 6.31, 2, 10.0);
InterpolateCameraPos(playerid, 1239.964233, -2580.436035, 32.045261, 1288.094726, -2642.995117, 27.278766, 7777);
InterpolateCameraLookAt(playerid, 1243.364990, -2580.335693, 28.381305, 1286.646606, -2638.428955, 25.846010, 7777);
		            }
					case 1:
					{
                    SetPlayerPos(playerid,1155.12, -2590.65, 3.30);
                    TogglePlayerControllable(playerid, true);
                    }
		        }
		    }



Re: little problem - CoaPsyFactor - 12.05.2012

what do you mean with don't close ?