[Help]Map/Fs
#1

Can Repair This Script.....i download this script on forum sa-mp.com and i don't use gate...please repair this script and post.....THANKS VERY MUCH


Quote:

new obj;
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_RED 0xAA3333AA
#define COLOR_LIME 0x10F441AA
#define COLOR_MAGENTA 0xFF00FFFF
#define COLOR_NAVY 0x000080AA
#define COLOR_AQUA 0xF0F8FFAA
#define COLOR_CRIMSON 0xDC143CAA
#define COLOR_FLBLUE 0x6495EDAA
#define COLOR_BISQUE 0xFFE4C4AA
#define COLOR_BLACK 0x000000AA
#define COLOR_CHARTREUSE 0x7FFF00AA
#define COLOR_BROWN 0XA52A2AAA
#define COLOR_CORAL 0xFF7F50AA
#define COLOR_GOLD 0xB8860BAA
#define COLOR_GREENYELLOW 0xADFF2FAA
#define COLOR_INDIGO 0x4B00B0AA
#define COLOR_IVORY 0xFFFF82AA
#define COLOR_LAWNGREEN 0x7CFC00AA
#define COLOR_SEAGREEN 0x20B2AAAA
#define COLOR_LIMEGREEN 0x32CD32AA //<--- Dark lime
#define COLOR_MIDNIGHTBLUE 0X191970AA
#define COLOR_MAROON 0x800000AA
#define COLOR_OLIVE 0x808000AA
#define COLOR_ORANGERED 0xFF4500AA
#define COLOR_PINK 0xFFC0CBAA // - Light light pink
#define COLOR_SPRINGGREEN 0x00FF7FAA
#define COLOR_TOMATO 0xFF6347AA // - Tomato >:/ sounds wrong lol... well... :P
#define COLOR_YELLOWGREEN 0x9ACD32AA //- like military green
#define COLOR_MEDIUMAQUA 0x83BFBFAA
#define COLOR_MEDIUMMAGENTA 0x8B008BAA // dark magenta ^^


AddStaticVehicleEx(420,1776.64245605,-1927.75231934,13.23685551,358.00000000,6,6,0); //Taxi
AddStaticVehicleEx(420,1783.11499023,-1927.86962891,13.23872280,358.00000000,6,6,0); //Taxi
AddStaticVehicleEx(420,1779.66687012,-1927.66979980,13.23907089,0.00000000,6,6,0); //Taxi
AddStaticVehicleEx(420,1786.41943359,-1927.68737793,13.23881149,0.00000000,6,6,0); //Taxi
AddStaticVehicleEx(438,1789.57653809,-1928.93554688,13.58820248,0.00000000,6,6,0); //Cabbie
AddStaticVehicleEx(438,1792.77478027,-1928.98339844,13.58817863,0.00000000,6,6,0); //Cabbie
AddStaticVehicleEx(438,1796.32592773,-1928.81823730,13.58825970,0.00000000,-1,-1,0); //Cabbie
AddStaticVehicleEx(438,1800.39416504,-1928.88562012,13.58822727,0.00000000,-1,-1,0); //Cabbie
AddStaticVehicleEx(525,1777.88977051,-1885.74389648,13.37776947,264.00000000,-1,-1,0); //Tow Truck
AddStaticVehicleEx(525,1777.73596191,-1888.64697266,13.37765694,268.00000000,-1,-1,0); //Tow Truck
AddStaticVehicleEx(552,1776.75769043,-1893.32678223,13.16384888,270.00000000,-1,-1,0); //Utility
AddStaticVehicleEx(552,1776.80871582,-1896.18957520,13.16388607,270.00000000,-1,-1,0); //Utility
CreateObject(8841,1789.60742188,-1933.99487305,15.71197319,0.00000000,0.00000000,0. 00000000); //object(rsdncarprk01_lvs) (1)
CreateObject(4638,1812.56982422,-1882.16784668,14.27470493,0.00000000,0.00000000,0. 00000000); //object(paypark_lan01) (1)
obj = CreateObject(980,1810.86560059,-1889.00378418,15.18109703,0.00000000,0.00000000,27 2.00000000); //object(airportgate) (1)
CreateObject(987,1810.99487305,-1895.03027344,12.57812500,0.00000000,0.00000000,27 0.00000000); //object(elecfence_bar) (1)
CreateObject(987,1810.93298340,-1907.02001953,12.62846375,0.00000000,0.00000000,27 0.00000000); //object(elecfence_bar) (2)
CreateObject(987,1810.93298340,-1918.99694824,12.60991955,0.00000000,0.00000000,27 0.00000000); //object(elecfence_bar) (3)
CreateObject(987,1811.03198242,-1929.48999023,12.60337543,0.00000000,0.00000000,27 0.00000000); //object(elecfence_bar) (4)
CreateObject(4100,1774.45629883,-1941.75988770,14.26947403,0.00000000,0.00000000,14 2.00000000); //object(meshfence1_lan) (1)
CreateObject(4100,1760.63513184,-1942.22045898,14.27768707,0.00000000,0.00000000,14 1.99829102); //object(meshfence1_lan) (2)
CreateObject(17037,1776.57128906,-1887.89343262,14.87827873,0.00000000,0.00000000,35 8.00000000); //object(cuntw_carport2_) (1)
CreateObject(17037,1776.36340332,-1895.20056152,14.87812614,0.00000000,0.00000000,35 7.99499512); //object(cuntw_carport2_) (2)


public OnPlayerCommandText(playerid, cmdtext[])
if(strcmp(cmdtext, "/taxiopen", true) == 0)
{
new string[50];
new movetime = MoveObject(obj, 1810.86560059,-1889.00378418,20.18109703, 2.00);
format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime);
SendClientMessage(playerid, 0xFF000000, string);
SendClientMessage(playerid, COLOR_FLBLUE, "Taxi gate open, to close use /taxiclose");
return 1;
}
if(strcmp(cmdtext, "/taxiclose", true) == 0)
{
new string[50];
new movetime = MoveObject(obj,1810.86560059,-1889.00378418,15.18109703, 2.00); format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime);
SendClientMessage(playerid, 0xFF000000, string);
SendClientMessage(playerid, COLOR_ORANGE, "Taxi gate closed, thank you.");
return 1;
}

Reply
#2

Tell what you want first? Remove the gate?
Reply
#3

no.....i use....gate
Reply
#4

then Post what you WANT
Reply
#5

To make things faster and easier you should be explaining what you need.
Reply
#6

man ...please repair this filescript
Reply
#7

First try it alone, if you cant then ask it.
Reply
#8

Quote:
Originally Posted by Johnny_Ionut
Посмотреть сообщение
man ...please repair this filescript
Stop acting such a kid... it make me angry..

And here's the FS:

pawn Код:
new obj;
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_RED 0xAA3333AA
#define COLOR_LIME 0x10F441AA
#define COLOR_MAGENTA 0xFF00FFFF
#define COLOR_NAVY 0x000080AA
#define COLOR_AQUA 0xF0F8FFAA
#define COLOR_CRIMSON 0xDC143CAA
#define COLOR_FLBLUE 0x6495EDAA
#define COLOR_BISQUE 0xFFE4C4AA
#define COLOR_BLACK 0x000000AA
#define COLOR_CHARTREUSE 0x7FFF00AA
#define COLOR_BROWN 0XA52A2AAA
#define COLOR_CORAL 0xFF7F50AA
#define COLOR_GOLD 0xB8860BAA
#define COLOR_GREENYELLOW 0xADFF2FAA
#define COLOR_INDIGO 0x4B00B0AA
#define COLOR_IVORY 0xFFFF82AA
#define COLOR_LAWNGREEN 0x7CFC00AA
#define COLOR_SEAGREEN 0x20B2AAAA
#define COLOR_LIMEGREEN 0x32CD32AA //<--- Dark lime
#define COLOR_MIDNIGHTBLUE 0X191970AA
#define COLOR_MAROON 0x800000AA
#define COLOR_OLIVE 0x808000AA
#define COLOR_ORANGERED 0xFF4500AA
#define COLOR_PINK 0xFFC0CBAA // - Light light pink
#define COLOR_SPRINGGREEN 0x00FF7FAA
#define COLOR_TOMATO 0xFF6347AA // - Tomato >:/ sounds wrong lol... well... :P
#define COLOR_YELLOWGREEN 0x9ACD32AA //- like military green
#define COLOR_MEDIUMAQUA 0x83BFBFAA
#define COLOR_MEDIUMMAGENTA 0x8B008BAA // dark magenta ^^


AddStaticVehicleEx(420,1776.64245605,-1927.75231934,13.23685551,358.00000000,6,6,0); //Taxi
AddStaticVehicleEx(420,1783.11499023,-1927.86962891,13.23872280,358.00000000,6,6,0); //Taxi
AddStaticVehicleEx(420,1779.66687012,-1927.66979980,13.23907089,0.00000000,6,6,0); //Taxi
AddStaticVehicleEx(420,1786.41943359,-1927.68737793,13.23881149,0.00000000,6,6,0); //Taxi
AddStaticVehicleEx(438,1789.57653809,-1928.93554688,13.58820248,0.00000000,6,6,0); //Cabbie
AddStaticVehicleEx(438,1792.77478027,-1928.98339844,13.58817863,0.00000000,6,6,0); //Cabbie
AddStaticVehicleEx(438,1796.32592773,-1928.81823730,13.58825970,0.00000000,-1,-1,0); //Cabbie
AddStaticVehicleEx(438,1800.39416504,-1928.88562012,13.58822727,0.00000000,-1,-1,0); //Cabbie
AddStaticVehicleEx(525,1777.88977051,-1885.74389648,13.37776947,264.00000000,-1,-1,0); //Tow Truck
AddStaticVehicleEx(525,1777.73596191,-1888.64697266,13.37765694,268.00000000,-1,-1,0); //Tow Truck
AddStaticVehicleEx(552,1776.75769043,-1893.32678223,13.16384888,270.00000000,-1,-1,0); //Utility
AddStaticVehicleEx(552,1776.80871582,-1896.18957520,13.16388607,270.00000000,-1,-1,0); //Utility
CreateObject(8841,1789.60742188,-1933.99487305,15.71197319,0.00000000,0.00000000,0. 00000000); //object(rsdncarprk01_lvs) (1)
CreateObject(4638,1812.56982422,-1882.16784668,14.27470493,0.00000000,0.00000000,0. 00000000); //object(paypark_lan01) (1)
obj = CreateObject(980,1810.86560059,-1889.00378418,15.18109703,0.00000000,0.00000000,27 2.00000000); //object(airportgate) (1)
CreateObject(987,1810.99487305,-1895.03027344,12.57812500,0.00000000,0.00000000,27 0.00000000); //object(elecfence_bar) (1)
CreateObject(987,1810.93298340,-1907.02001953,12.62846375,0.00000000,0.00000000,27 0.00000000); //object(elecfence_bar) (2)
CreateObject(987,1810.93298340,-1918.99694824,12.60991955,0.00000000,0.00000000,27 0.00000000); //object(elecfence_bar) (3)
CreateObject(987,1811.03198242,-1929.48999023,12.60337543,0.00000000,0.00000000,27 0.00000000); //object(elecfence_bar) (4)
CreateObject(4100,1774.45629883,-1941.75988770,14.26947403,0.00000000,0.00000000,14 2.00000000); //object(meshfence1_lan) (1)
CreateObject(4100,1760.63513184,-1942.22045898,14.27768707,0.00000000,0.00000000,14 1.99829102); //object(meshfence1_lan) (2)
CreateObject(17037,1776.57128906,-1887.89343262,14.87827873,0.00000000,0.00000000,35 8.00000000); //object(cuntw_carport2_) (1)
CreateObject(17037,1776.36340332,-1895.20056152,14.87812614,0.00000000,0.00000000,35 7.99499512); //object(cuntw_carport2_) (2)


public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/taxiopen", true) == 0)
{
new string[50];
new movetime = MoveObject(obj, 1810.86560059,-1889.00378418,20.18109703, 2.00);
format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime);
SendClientMessage(playerid, 0xFF000000, string);
SendClientMessage(playerid, COLOR_FLBLUE, "Taxi gate open, to close use /taxiclose");
return 1;
}
if(strcmp(cmdtext, "/taxiclose", true) == 0)
{
new string[50];
new movetime = MoveObject(obj,1810.86560059,-1889.00378418,15.18109703, 2.00); format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime);
SendClientMessage(playerid, 0xFF000000, string);
SendClientMessage(playerid, COLOR_ORANGE, "Taxi gate closed, thank you.");
return 1;
}
return 0;
}

... I knew the problem
Reply
#9

I tried several times
Reply
#10

can repair this file script full ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)