Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ///3333////3333///3//3/3/3/3/33//3///3/33/3/3/3//3/3/3/3/
- [FS/Map]Jefferson Motel Volume 1 for any kind of server
- //3///3/3/I dont give a shit if you claim it as yours//3//3//3/3/
- */
- #include <a_samp>
- #define COLOR_BLUE 0x2641FEAA
- #define FILTERSCRIPT
- forward GateClose();
- new gate;
- public OnFilterScriptInit()
- {
- gate = CreateObject(976, 2216.3156738281, -1142.8746337891, 24.80749130249, 0.0000, 0.0000, 342.13500976563);
- CreateObject(976, 2225.0139160156, -1145.4725341797, 24.800163269043, 0.0000, 0.0000, 342.13500976563);
- CreateObject(987, 2233.0385742188, -1148.4926757813, 24.796875, 0.8594, 0.0000, 292.50997924805);
- CreateObject(976, 2208.5114746094, -1141.3946533203, 24.77518081665, 0.0000, 0.0000, 352.05999755859);
- CreateObject(12957, 2229.1323242188, -1176.2789306641, 25.604780197144, 0, 0, 268.69067382813);
- CreateObject(1337, 2224.0581054688, -1180.8486328125, 25.390625, 0, 0, 183.33630371094);
- CreateObject(4003, 2218.3598632813, -1180.8125, 33.169013977051, 0, 0, 0);
- CreateObject(1216, 2232.6530761719, -1161.392578125, 25.582628250122, 0, 0, 270.67565917969);
- CreateObject(1216, 2232.6218261719, -1162.6419677734, 25.582628250122, 0, 0, 270.67565917969);
- CreateObject(1216, 2232.5905761719, -1163.8909912109, 25.582628250122, 0, 0, 270.67565917969);
- CreateObject(1216, 2232.5593261719, -1165.1400146484, 25.582628250122, 0, 0, 270.67565917969);
- CreateObject(1258, 2247.5139160156, -1147.1280517578, 25.883485794067, 0, 0, 346.10510253906);
- CreateObject(1257, 2239.9482421875, -1145.8197021484, 26.110404968262, 0, 0, 254.79577636719);
- CreateObject(1340, 2205.5678710938, -1136.8773193359, 25.936660766602, 0, 0, 73.444580078125);
- CreateObject(1302, 2201.1745605469, -1157.3815917969, 24.857566833496, 0, 0, 87.339508056641);
- CreateObject(1775, 2201.3383789063, -1158.8469238281, 25.956624984741, 0, 0, 89.324493408203);
- CreateObject(1776, 2201.1547851563, -1155.7058105469, 25.971702575684, 0, 0, 89.324493408203);
- CreateObject(8330, 2218.4987792969, -1181.0942382813, 36.216728210449, 0, 0, 0);
- CreateObject(7597, 2233.5895996094, -1150.8034667969, 42.740829467773, 0, 0, 0);
- CreateObject(7597, 2208.005859375, -1138.6141357422, 42.740829467773, 0, 0, 0);
- CreateObject(7313, 2231.859375, -1160.8510742188, 27.510679244995, 0, 0, 270.67565917969);
- CreateObject(8530, 2217.3566894531, -1151.6330566406, 30.740827560425, 0, 0, 264.720703125);
- CreateObject(14467, 2185.8432617188, -1133.5991210938, 39.835353851318, 0, 0, 254.79577636719);
- CreateObject(17042, 2245.1489257813, -1150.9403076172, 33.146968841553, 0, 0, 328.240234375);
- print("\n--------------------------------------");
- print("------------Jefferson Hotel-------------");
- print("--------------by Souvlaki----------------");
- print("---------------Version 1----------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp(cmdtext, "/motelgate", true)==0)
- {
- MoveObject(gate,2225.5759277344, -1146.0582275391, 24.80749130249, 6.5);
- SetTimer("GateClose", 2000, 0);
- SendClientMessage(playerid, COLOR_BLUE,"Motel Gate Opened.It will close soon automaticly");
- return 1;
- }
- return 0;
- }
- public GateClose()
- {
- MoveObject (gate,2216.3156738281, -1142.8746337891, 24.80749130249, 3.5);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment