[FilterScript] Ship System
#1

[ame=http://www.youtube.com/watch?v=xWRZP7gv4y0]http://www.youtube.com/watch?v=xWRZP7gv4y0[/ame]
Hello guys, see and download.
Generality
Blog
Solidfiles
Comments, reps
Code:
#include <a_samp>

#pragma tabsize 0

//obje tanıtımları
new obje1;
new obje2;
new obje3;
new obje4;
new obje5;
new obje6;
//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;*//


//Objeler
public OnPlayerConnect(playerid)
{
   RemoveBuildingForPlayer(playerid, 5156, 2838.0391, -2423.8828, 10.9609, 0.25);
RemoveBuildingForPlayer(playerid, 5159, 2838.0313, -2371.9531, 7.2969, 0.25);
RemoveBuildingForPlayer(playerid, 5160, 2829.9531, -2479.5703, 5.2656, 0.25);
RemoveBuildingForPlayer(playerid, 5161, 2838.0234, -2358.4766, 21.3125, 0.25);
RemoveBuildingForPlayer(playerid, 5162, 2838.0391, -2423.8828, 10.9609, 0.25);
RemoveBuildingForPlayer(playerid, 5163, 2838.0391, -2532.7734, 17.0234, 0.25);
RemoveBuildingForPlayer(playerid, 5164, 2838.1406, -2447.8438, 15.7266, 0.25);
RemoveBuildingForPlayer(playerid, 5165, 2838.0313, -2520.1875, 18.4141, 0.25);
RemoveBuildingForPlayer(playerid, 5166, 2829.9531, -2479.5703, 5.2656, 0.25);
RemoveBuildingForPlayer(playerid, 5167, 2838.0313, -2371.9531, 7.2969, 0.25);
RemoveBuildingForPlayer(playerid, 5335, 2829.9531, -2479.5703, 5.2656, 0.25);
RemoveBuildingForPlayer(playerid, 5336, 2829.9531, -2479.5703, 5.2656, 0.25);
RemoveBuildingForPlayer(playerid, 5352, 2838.1953, -2488.6641, 29.3125, 0.25);
RemoveBuildingForPlayer(playerid, 5157, 2838.0391, -2532.7734, 17.0234, 0.25);
RemoveBuildingForPlayer(playerid, 5154, 2838.1406, -2447.8438, 15.7500, 0.25);
RemoveBuildingForPlayer(playerid, 3724, 2838.1953, -2488.6641, 29.3125, 0.25);
RemoveBuildingForPlayer(playerid, 5155, 2838.0234, -2358.4766, 21.3125, 0.25);
RemoveBuildingForPlayer(playerid, 3724, 2838.1953, -2407.1406, 29.3125, 0.25);
RemoveBuildingForPlayer(playerid, 5158, 2837.7734, -2334.4766, 11.9922, 0.25);
RemoveBuildingForPlayer(playerid, 10793, -1604.0391, 22.7266, 35.5703, 0.25);
RemoveBuildingForPlayer(playerid, 10794, -1550.8281, 75.9297, 7.0000, 0.25);
RemoveBuildingForPlayer(playerid, 10795, -1552.4375, 74.3203, 17.0469, 0.25);
RemoveBuildingForPlayer(playerid, 11329, -1552.4375, 74.3203, 17.0469, 0.25);
RemoveBuildingForPlayer(playerid, 11330, -1604.0391, 22.7266, 35.5703, 0.25);
RemoveBuildingForPlayer(playerid, 11331, -1550.8281, 75.9297, 7.0000, 0.25);
RemoveBuildingForPlayer(playerid, 10141, -1421.6250, 1490.8594, 6.9688, 0.25);
RemoveBuildingForPlayer(playerid, 10229, -1421.8750, 1489.4453, 5.8203, 0.25);
RemoveBuildingForPlayer(playerid, 10230, -1421.6250, 1490.8594, 6.9688, 0.25);
RemoveBuildingForPlayer(playerid, 10231, -1422.5391, 1489.3516, 8.4531, 0.25);
RemoveBuildingForPlayer(playerid, 10228, -1411.9844, 1489.7188, 5.7891, 0.25);
RemoveBuildingForPlayer(playerid, 10140, -1406.9063, 1489.8047, 7.1250, 0.25);
RemoveBuildingForPlayer(playerid, 10227, -1376.7500, 1490.6328, 12.0234, 0.25);
RemoveBuildingForPlayer(playerid, 10226, -1377.2344, 1491.6250, 6.2109, 0.25);
    return 1;
}
public OnGameModeInit()
{
    CreateObject(8572,2811.50000000,-2526.19995117,11.30000019,0.00000000,0.00000000,88.75000000); //object(vgssstairs02_lvs) (1)
CreateObject(3406,-1550.80004883,98.00000000,-0.50000000,0.00000000,0.00000000,45.00000000); //object(cxref_woodjetty) (1)
  CreateObject(16082,2813.10009766,-2536.69995117,5.30000019,0.00000000,0.00000000,90.00000000); //object(des_quarryplatform) (1)
return 1;
}
public OnFilterScriptInit()

{

obje1 = CreateObject(10230,2830.29980469,-2518.29980469,7.09999990,0.00000000,0.00000000,89.74731445); //object(freighter_sfe) (1)
obje2 = CreateObject(10229,2831.71997070,-2518.57006836,5.91199970,0.00000000,0.00000000,89.75000000); //object(freighter2b_sfe) (1)
obje3 = CreateObject(10140,2831.41894531,-2503.58593750,7.25999975,0.00000000,0.00000000,89.75000000); //object(freig2_intsfe) (1)
obje4 = CreateObject(10226,2829.76000977,-2473.89990234,6.30000019,0.00000000,0.00000000,89.75000000); //object(shipbits2_sfe) (1)
obje5 = CreateObject(10227,2830.80004883,-2473.39990234,12.13999939,0.00000000,0.00000000,89.75000000); //object(shipbits1_sfe) (1)
obje6 = CreateObject(10231,2831.80004883,-2519.19995117,8.42000198,0.00000000,0.00000000,89.75000000); //object(freightboxes) (1)

}

//Komutlar
public OnPlayerCommandText(playerid, cmdtext[])
{
		if (strcmp("/basla", cmdtext, true, 10) == 0)
	{
		MoveObject(obje1, 2830.29980469,-2518.29980469,7.09999990, 15);
		MoveObject(obje2, 2831.71997070,-2518.57006836,5.91199970, 15);
		MoveObject(obje3, 2831.41894531,-2503.58593750,7.25999975, 15);
		MoveObject(obje4, 2829.76000977,-2473.89990234,6.30000019, 15);
		MoveObject(obje5, 2830.80004883,-2473.39990234,12.13999939, 15);
		MoveObject(obje6, 2831.80004883,-2519.19995117,8.42000198, 15);
		return 1;
	}

	if (strcmp("/basla2", cmdtext, true, 10) == 0)
	{
		MoveObject(obje1, 2830.29980469,-3255.19995117,7.09999990, 30);
		MoveObject(obje2, 2831.71972656,-3255.46948242,5.91199970, 30);
		MoveObject(obje3, 2831.41894531,-3240.47802734,7.25999975, 30);
		MoveObject(obje4, 2829.75976562,-3210.77783203,6.30000019, 30);
		MoveObject(obje5, 2830.79980469,-3210.37792969,12.13999939, 30);
		MoveObject(obje6, 2831.79980469,-3256.19995117,8.42000198, 30);
		return 1;
	}
		if (strcmp("/basla3", cmdtext, true, 10) == 0)
	{
		MoveObject(obje1, 2830.29980469,-3255.19921875,7.09999990, 30, 0, 0 ,358.24731445313);
		MoveObject(obje2, 2830.00000000,-3256.60009766,5.90000010, 30, 0, 0 ,358.24731445313);
		MoveObject(obje3, 2844.97998047,-3256.69946289,7.25599957, 30, 0, 0 ,358.2421875);
		MoveObject(obje4, 2874.69995117,-3255.80004883,6.09999990, 30, 0, 0 ,358.24731445313);
		MoveObject(obje5, 2875.10009766,-3256.80004883,12.10000038, 30, 0, 0 ,358.24731445313);
		MoveObject(obje6, 2829.30004883,-3256.69995117,8.39999962, 30, 0, 0 ,358.24731445313);
		return 1;
	}
			if (strcmp("/basla4", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, -3732.79980469,-3255.19921875,7.09999990, 30, 0, 0, 358.23669434);
		MoveObject(obje2, -3733.09960938,-3256.59960938,5.90000010, 30, 0, 0, 358.23669434);
		MoveObject(obje3, -3718.11816406,-3256.70117188,7.25799990, 30, 0, 0, 358.23669434);
		MoveObject(obje4, -3688.39941406,-3255.79980469,6.09999990, 30, 0, 0, 358.23669434);
		MoveObject(obje5, -3688.00000000,-3256.79980469,12.10000038, 30, 0, 0, 358.23669434);
		MoveObject(obje6, -3733.76953125,-3256.69921875,8.39999962, 30, 0, 0, 358.23669434);
			return 1;
	}


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

		MoveObject(obje1, -3732.79980469,-3255.19921875,7.09999990, 30, 0.00000000,0.00000000,267.73669434);
		MoveObject(obje2, -3734.19995117,-3254.89990234,5.90000010, 30, 0.00000000,0.00000000,267.73669434);
		MoveObject(obje3, -3734.42993164,-3269.86499023,7.19999981, 30, 0.00000000,0.00000000,267.73669434);
		MoveObject(obje4, -3733.80004883,-3299.60009766,6.19999981, 30, 0.00000000,0.00000000,267.73669434);
		MoveObject(obje5, -3734.80004883,-3300.00000000,12.10000038, 30, 0.00000000,0.00000000,267.73669434);
		MoveObject(obje6, -3734.30004883,-3254.19995117,8.39999962, 30, 0.00000000,0.00000000,267.73669434);
			return 1;
	}
	if (strcmp("/basla6", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, -3732.79980469,1792.19995117,7.09999990, 30, 0.00000000,0.00000000,267.73681641);
		MoveObject(obje2, -3734.19921875,1792.19995117,5.90000010, 30, 0.00000000,0.00000000,267.73132324);
		MoveObject(obje3, -3734.43310547,1777.52539062,7.25999832, 30, 0.00000000,0.00000000,267.73132324);
		MoveObject(obje4, -3733.80004883,1747.80004883,5.90000010, 30, 0.00000000,0.00000000,267.73132324);
		MoveObject(obje5, -3734.80004883,1747.40002441,12.10000038, 30, 0.00000000,0.00000000,267.73132324);
		MoveObject(obje6, -3734.28002930,1793.16955566,8.39999962, 30, 0.00000000,0.00000000,267.73132324);
		return 1;
	}
		if (strcmp("/basla7", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, -3732.79980469,1792.19921875,7.09999990, 30, 0.00000000,0.00000000,179.73632812);
		MoveObject(obje2, -3732.50000000,1793.59997559,5.90000010, 30, 0.00000000,0.00000000,179.73681641);
		MoveObject(obje3, -3747.51293945,1793.32006836,7.22999907, 30, 0.00000000,0.00000000,179.73681641);
		MoveObject(obje4, -3777.19995117,1791.69995117,6.09999990, 30, 0.00000000,0.00000000,179.73681641);
		MoveObject(obje5, -3777.60107422,1792.63598633,12.10000038, 30, 0.00000000,0.00000000,179.73632812);
		MoveObject(obje6, -3731.89990234,1793.69995117,8.39999962, 30, 0.00000000,0.00000000,179.73681641);
		return 1;
	}
			if (strcmp("/basla8", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, -1731.59960938,1665.79980469,7.09999990, 30, 0.00000000,0.00000000,178.22570801);
		MoveObject(obje2, -1731.29980469,1667.19921875,5.80000019, 30, 0.00000000,0.00000000,178.22570801);
		MoveObject(obje3, -1746.29882812,1667.30859375,7.25600004, 30, 0.00000000,0.00000000,178.22570801);
		MoveObject(obje4, -1776.00000000,1666.40002441,6.30000019, 30, 0.00000000,0.00000000,178.23120117);
		MoveObject(obje5, -1776.50000000,1667.40002441,12.10000038, 30, 0.00000000,0.00000000,178.23120117);
		MoveObject(obje6, -1730.63928223,1667.27551270,8.39999962, 30, 0.00000000,0.00000000,178.23120117);
		return 1;
	}
			if (strcmp("/basla9", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, -1731.59960938,1665.79980469,7.09999990, 30, 0.00000000,0.00000000,131.73120117);
		MoveObject(obje2, -1730.32006836,1666.59997559,5.80000019, 30, 0.00000000,0.00000000,131.73120117);
		MoveObject(obje3, -1740.60986328,1677.48999023,7.19999981, 30, 0.00000000,0.00000000,131.73120117);
		MoveObject(obje4, -1761.69995117,1698.40002441,6.09999990, 30, 0.00000000,0.00000000,131.73120117);
		MoveObject(obje5, -1761.25000000,1699.40002441,12.10000038, 30, 0.00000000,0.00000000,131.73120117);
		MoveObject(obje6, -1729.84399414,1666.09997559,8.39999962, 30, 0.00000000,0.00000000,131.73120117);
		return 1;
	}
				if (strcmp("/basla10", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, -1013.00000000,847.00000000,7.09999990, 30, 0.00000000,0.00000000,131.72607422);
		MoveObject(obje2, -1011.79998779,847.79998779,5.90000010, 30, 0.00000000,0.00000000,131.72607422);
		MoveObject(obje3, -1022.00701904,858.69201660,7.25499964, 30, 0.00000000,0.00000000,131.72607422);
		MoveObject(obje4, -1043.09997559,879.59997559,6.00000000, 30, 0.00000000,0.00000000,131.72607422);
		MoveObject(obje5, -1042.63000488,880.59997559,12.19999981, 30, 0.00000000,0.00000000,131.72607422);
		MoveObject(obje6, -1011.28002930,847.32879639,8.57999992, 30, 0.00000000,0.00000000,131.72607422);
		return 1;
	}
	if (strcmp("/basla11", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, -1013.00000000,847.00000000,7.09999990, 30, 0.00000000,0.00000000,78.97604370);
		MoveObject(obje2, -1011.64978027,846.50000000,5.90000010, 30, 0.00000000,0.00000000,78.97604370);
		MoveObject(obje3, -1009.15002441,861.24798584,7.25299978, 30, 0.00000000,0.00000000,78.97604370);
		MoveObject(obje4, -1005.29998779,890.79998779,6.09999990, 30, 0.00000000,0.00000000,78.97604370);
		MoveObject(obje5, -1004.20001221,891.00000000,12.10000038, 30, 0.00000000,0.00000000,78.97604370);
		MoveObject(obje6, -1011.70001221,845.80010986,8.56000042, 30, 0.00000000,0.00000000,78.97604370);
		return 1;
	}

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

		MoveObject(obje1, -1100.69995117,490.39999390,7.09999990, 30, 0.00000000,0.00000000,78.97604370);
		MoveObject(obje2, -1099.33398438,490.00000000,5.90000010, 30, 0.00000000,0.00000000,78.97521973);
		MoveObject(obje3, -1096.85339355,504.63769531,7.25299978, 30, 0.00000000,0.00000000,78.97521973);
		MoveObject(obje4,-1093.00000000,534.09997559,6.19999981, 30, 0.00000000,0.00000000,78.97521973);
		MoveObject(obje5, -1091.90002441,534.29998779,12.10000038, 30, 0.00000000,0.00000000,78.97521973);
		MoveObject(obje6, -1099.38000488,489.22000122,8.39999962, 30, 0.00000000,0.00000000,78.97521973);
		return 1;
	}
		if (strcmp("/basla13", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, -1100.69921875,490.39941406,7.09999990, 30, 0.00000000,0.00000000,46.22521973);
		MoveObject(obje2, -1099.80004883,489.29998779,5.90000010, 30, 0.00000000,0.00000000,46.22521973);
		MoveObject(obje3, -1089.75500488,500.29827881,7.25600004, 30, 0.00000000,0.00000000,46.22521973);
		MoveObject(obje4, -1070.50000000,523.00000000,6.30000019, 30, 0.00000000,0.00000000,46.22521973);
		MoveObject(obje5, -1069.50000000,522.59997559,12.10000038, 30, 0.00000000,0.00000000,46.22521973);
		MoveObject(obje6, -1100.19995117,488.73001099,8.39999962, 30, 0.00000000,0.00000000,46.22521973);
		return 1;
	}
		if (strcmp("/basla14", cmdtext, true, 10) == 0)
	{

		MoveObject(obje1, -1522.19921875,105.79980469,7.09999990, 10, 0.00000000,0.00000000,46.21948242);
		MoveObject(obje2, -1521.34960938,104.61914062,5.80000019, 10, 0.00000000,0.00000000,46.21948242);
		MoveObject(obje3, -1511.25488281,115.69799805,7.25499964, 10, 0.00000000,0.00000000,46.22521973);
		MoveObject(obje4, -1492.00000000,138.39999390,6.19999981, 10, 0.00000000,0.00000000,46.22497559);
		MoveObject(obje5, -1491.00000000,138.00000000,12.10000038, 10, 0.00000000,0.00000000,46.22497559);
		MoveObject(obje6, -1521.76000977,104.09999847,8.39999962, 10, 0.00000000,0.00000000,46.22521973);
		return 1;
	}
	return 0;
 }
 //CREDITS:N20(Rapido/Cebo)&Pioneer
// http://www.gtaturk.com/forum/pawn-mod-ga...c-calisma/ //
// http://n20map.blogspot.com/ //
Reply
#2

Very nice! +6 reps for your hard work!
Reply
#3

Nice
Reply
#4

Good.
Reply
#5

Nice script
Reply
#6

Cool system dude
Reply
#7

wait so we can post the codes in other langs than english? lol
Reply
#8

xD nice system! I have the familiar thing on my server xD
Reply
#9

Like it. nice job.
song name by the way?
Reply
#10

Thanks.
Quote:
Originally Posted by Jay.
View Post
Like it. nice job.
song name by the way?
DJ Pone & Drixxxe - Fighting man
Quote:
Originally Posted by Ketchup_
View Post
Зok gьzel olmuş Cebrail, ellerine sağlık kardeşim.
Sanada Thanks bro sağol.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)