SA-MP Forums Archive
[FilterScript] Ship System II - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Ship System II (/showthread.php?tid=398462)



Ship System II - Cebo - 09.12.2012

[ame="http://www.youtube.com/watch?v=dmfQFPYJ-dU"]http://www.youtube.com/watch?v=dmfQFPYJ-dU[/ame]
Genel konu
Blog

Код:
#include <a_samp>

#pragma tabsize 0

//obje tanıtımları
new obje1;
new obje2;

//new obje7;
//new obje8;
//new obje9;
//new obje10;
//new obje11;
//new obje12;
//new obje13;
//new obje14;
//new obje15;
//new obje16;
//new obje17;
//new obje18;
//new obje19;
//new obje20;
//new obje21;
//new obje22;
////new obje23;
//new obje24;*//





public OnFilterScriptInit()

{

obje1 = CreateObject(8493,2947.69995117,-2064.10009766,15.80000019,0.00000000,0.00000000,177.75000000); //object(pirtshp01_lvs) (1)
obje2 = CreateObject(9159,2947.69995117,-2064.10009766,15.69999981,0.00000000,0.00000000,177.75000000); //object(pirtshp02_lvs) (1)

}

//Komutlar
public OnPlayerCommandText(playerid, cmdtext[])
{
		if (strcmp("/basla", cmdtext, true, 10) == 0)
	{
		MoveObject(obje1, 2947.69995117,-2064.10009766,15.80000019, 20, 0.00000000,0.00000000,177.75000000);
		MoveObject(obje2, 2947.69995117,-2064.10009766,15.69999981, 20, 0.00000000,0.00000000,177.75000000);
		return 1;
	}

	if (strcmp("/basla2", cmdtext, true, 10) == 0)
	{
		MoveObject(obje1, 2914.19995117,-2704.30004883,15.80000019, 20, 0.00000000,0.00000000,177.74780273);
		MoveObject(obje2, 2914.19921875,-2704.29980469,15.69999981, 20, 0.00000000,0.00000000,177.74780273);

	return 1;
	}
		if (strcmp("/basla3", cmdtext, true, 10) == 0)
	{
		MoveObject(obje1, 2914.19921875,-2704.29980469,15.80000019, 20, 0.00000000,0.00000000,97.49786377);
		MoveObject(obje2, 2914.19921875,-2704.29980469,15.69999981, 20, 0.00000000,0.00000000,97.49786377);

		return 1;
	}
			if (strcmp("/basla4", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 795.70001221,-2935.39990234,15.69999981, 20, 0.00000000,0.00000000,97.48718262);
		MoveObject(obje2, 795.70001221,-2935.39990234,15.60000038, 20, 0.00000000,0.00000000,97.48718262);

			return 1;
	}


	if (strcmp("/basla5", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 610.50000000,-2743.19921875,15.69999981, 20, 0.00000000,0.00000000,40.49267578);
		MoveObject(obje2, 610.50000000,-2743.19921875,15.69999981, 20, 0.00000000,0.00000000,40.49267578);

			return 1;
	}
	if (strcmp("/basla6", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 71.90000153,-2112.60009766,15.69999981, 20, 0.00000000,0.00000000,40.49011230);
		MoveObject(obje2, 71.89941406,-2112.59960938,15.69999981, 20, 0.00000000,0.00000000,40.49011230);

		return 1;
	}
		if (strcmp("/basla7", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 71.89941406,-2112.59960938,15.69999981, 20, 0.00000000,0.00000000,335.74011230);
		MoveObject(obje2, 71.89941406,-2112.59960938,15.69999981, 20, 0.00000000,0.00000000,335.74011230);

		return 1;
	}
			if (strcmp("/basla8", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 132.60000610,-1994.69995117,15.69999981, 20, 0.00000000,0.00000000,335.73669434);
		MoveObject(obje2, 132.59960938,-1994.69921875,15.69999981, 20, 0.00000000,0.00000000,335.73669434);

		return 1;
	}
			if (strcmp("/basla9", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 165.19999695,-1974.09997559,15.69999981, 20, 0.00000000,0.00000000,271.23669434);
		MoveObject(obje2, 165.19921875,-1974.09960938,15.69999981, 20, 0.00000000,0.00000000,271.23596191);

		return 1;
	}
				if (strcmp("/basla10", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 229.69999695,-1971.50000000,15.69999981, 20, 0.00000000,0.00000000,271.23596191);
		MoveObject(obje2, 229.69921875,-1971.50000000,15.69999981, 20, 0.00000000,0.00000000,271.23596191);

		return 1;
	}
	if (strcmp("/basla11", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 229.69921875,-1971.50000000,15.69999981, 20, 0.00000000,0.00000000,215.48596191);
		MoveObject(obje2, 229.69921875,-1971.50000000,15.69999981, 20, 0.00000000,0.00000000,215.48583984);

		return 1;
	}

	if (strcmp("/basla12", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 301.10000610,-2122.39990234,15.69999981, 20, 0.00000000,0.00000000,215.48583984);
		MoveObject(obje2, 301.09960938,-2122.39941406,15.69999981, 20, 0.00000000,0.00000000,215.48583984);

		return 1;
	}
		if (strcmp("/basla13", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 301.09960938,-2122.39941406,15.69999981, 20, 0.00000000,0.00000000,265.98583984);
		MoveObject(obje2, 301.09960938,-2122.39941406,15.69999981, 20, 0.00000000,0.00000000,265.98449707);

		return 1;
	}
		if (strcmp("/basla14", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 604.09997559,-2130.60009766,15.69999981, 20, 0.00000000,0.00000000,265.98449707);
		MoveObject(obje2, 604.09960938,-2130.59960938,15.69999981, 20, 0.00000000,0.00000000,265.98449707);

		return 1;
	}


 		if (strcmp("/basla15", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 604.09960938,-2130.59960938,15.69999981, 20, 0.00000000,0.00000000,228.48449707);
		MoveObject(obje2, 604.09960938,-2130.59960938,15.69999981, 20, 0.00000000,0.00000000,228.48266602);
		return 1;
	}


 		if (strcmp("/basla16", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 1163.90002441,-2827.89990234,15.69999981, 20, 0.00000000,0.00000000,228.48266602);
		MoveObject(obje2, 1163.89941406,-2827.89941406,15.69999981, 20, 0.00000000,0.00000000,228.48266602);

		return 1;
	}


 		if (strcmp("/basla17", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 1163.89941406,-2827.89941406, 15.69999981, 20, 0.00000000,0.00000000,264.23266602);
		MoveObject(obje2, 1163.89941406,-2827.89941406, 15.69999981, 20, 0.00000000,0.00000000,264.23217773);

		return 1;
	}


 		if (strcmp("/basla18", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 2942.39990234,-2837.00000000,15.69999981, 20, 0.00000000,0.00000000,264.23266602);
		MoveObject(obje2, 2942.39941406,-2837.00000000,15.69999981, 20, 0.00000000,0.00000000,264.23217773);

		return 1;
	}
	

 		if (strcmp("/basla19", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 2942.39941406,-2837.00000000, 15.69999981, 20, 0.00000000,0.00000000,353.98217773);
		MoveObject(obje2, 2942.39941406,-2837.00000000, 15.69999981, 20, 0.00000000,0.00000000,353.97949219);

		return 1;
	}


 		if (strcmp("/basla20", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 3021.00000000,-2005.30004883,15.69999981, 20, 0.00000000,0.00000000,353.97949219);
		MoveObject(obje2, 3021.00000000,-2005.29980469,15.69999981, 20, 0.00000000,0.00000000,353.97949219);
		return 1;
	}
	


 if (strcmp("/basla21", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 3021.00000000,-2005.29980469,15.69999981, 20, 0.00000000,0.00000000,123.47952271);
		MoveObject(obje2, 3021.00000000,-2005.29980469,15.69999981, 20, 0.00000000,0.00000000,123.47537231);

		return 1;
	}

 if (strcmp("/basla22", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, 2967.50000000,-2027.30004883,15.69999981, 20, 0.00000000,0.00000000,123.47537231);
		MoveObject(obje2, 2967.50000000,-2027.29980469,15.69999981, 20, 0.00000000,0.00000000,123.47534180);

		return 1;
	}
	return 0;
}

 //CREDITS:N20(Rapido/Cebo)
// http://www.gtaturk.com/forum/pawn-mod-galerisi/%28map%29bir-kac-calisma/ //
// http://n20map.blogspot.com/ //



Re: Ship System II - XtremeR - 09.12.2012

simple nice and cool!


Re: Ship System II - TheChimpJr - 09.12.2012

Nice bro, thanks for the share xD


Re: Ship System II - Ketchup_ - 09.12.2012

Ortalığın amına koymuşun kardeşim, ellerine sağlık.


Respuesta: Ship System II - TugaBR - 09.12.2012

Good system. Good manipulation of "move object". The yellow Ferrari... So beautiful...


Re: Ship System II - WizBoy - 09.12.2012

I like it very much......


Re: Ship System II - aboa - 09.12.2012

nice bro

Good work


Re: Ship System II - kryptonice - 10.12.2012

How to set the ship slower? Cause it's really fast now, lol


Re: Ship System II - ShikamaruSama - 10.12.2012

wow 99999/10


GG


Re: Ship System II - Cebo - 10.12.2012

Thanks friends.
Quote:
Originally Posted by Ketchup_
Посмотреть сообщение
Ortalığın amına koymuşun kardeşim, ellerine sağlık.
EUHEUHE
Quote:
Originally Posted by TugaBR
Посмотреть сообщение
Good system. Good manipulation of "move object". The yellow Ferrari... So beautiful...
Ye, beatiful
Quote:
Originally Posted by kryptonice
Посмотреть сообщение
How to set the ship slower? Cause it's really fast now, lol

if (strcmp("/basla2", cmdtext, true, 10) == 0)
{
MoveObject(obje1, 2914.19995117,-2704.30004883,15.80000019, 20, 0.00000000,0.00000000,177.74780273);
MoveObject(obje2, 2914.19921875,-2704.29980469,15.69999981, 20, 0.00000000,0.00000000,177.74780273);

return 1;
}
-20 'is change.