[FilterScript] Army base with garage
#1

I have made an Army base with the MoveObject code for an Moving garage door.
I am working on it and i keep it uptodate.
Images coming soon.

The code is:
Код:
/*i hope you can ejoy my fs. do not remove the credits please!
*/


#include <a_samp>

new eerste;
new tweede;
new derde;
new vierde;
new vijfde;
new zesde;

#if defined FILTERSCRIPT

#else

main()
{
	print("\n----------------------------------");
	print("army by hatchoe");
	print("----------------------------------\n");
}



#endif


public OnFilterScriptInit()
{
eerste = CreateObject(3294, 286.60, 2018.00, 19.00, 0.00, 0.00, 0.00);
tweede = CreateObject(3294, 286.59, 2029.46, 19.00, 0.00, 0.00, 0.00);
CreateObject(1411, 286.62, 2023.22, 19.30,   0.00, 90.00, 90.00);
CreateObject(1411, 286.93, 2024.27, 19.30,   0.00, 90.00, -90.00);
derde = CreateObject(3294, 286.59, 1995.40, 19.00, 0.00, 0.00, 0.00);
vierde = CreateObject(3294, 286.73, 1983.90, 19.00, 0.00, 0.00, 0.00);
CreateObject(1411, 286.54, 1988.83, 19.30, 0.00, 90.00, 90.00);
CreateObject(1411, 286.92, 1990.19, 19.30, 0.00, 90.00, -90.00);
vijfde = CreateObject(3294, 286.47, 1961.53, 19.00,   0.00, 0.00, 0.00);
zesde = CreateObject(3294, 286.62, 1949.91, 19.00,   0.00, 0.00, 0.00);
CreateObject(1411, 286.33, 1955.21, 19.30,   0.00, 90.00, 90.00);
CreateObject(1411, 286.73, 1956.52, 19.30,   0.00, 90.00, -90.00);
CreateVehicle(520, 362.5437, 1965.8168, 20.0000, 90.0000, -1, -1, 100);
CreateVehicle(520, 361.4783, 1953.5916, 20.0000, 90.0000, -1, -1, 100);
CreateVehicle(520, 361.9373, 1940.6749, 20.0000, 90.0000, -1, -1, 100);
CreateVehicle(520, 361.1922, 1928.0024, 20.0000, 90.0000, -1, -1, 100);
CreateVehicle(548, 346.5345, 1979.6027, 20.0000, 90.0000, -1, -1, 100);
CreateVehicle(548, 346.4890, 1963.3713, 20.0000, 90.0000, -1, -1, 100);
CreateVehicle(548, 347.3391, 1946.8685, 20.0000, 90.0000, -1, -1, 100);
CreateVehicle(548, 348.4662, 1931.6100, 20.0000, 90.0000, -1, -1, 100);
CreateVehicle(425, 326.8581, 1933.1249, 20.0000, 90.0000, -1, -1, 100);
CreateVehicle(425, 323.8165, 1948.1387, 20.0000, 90.0000, -1, -1, 100);
CreateVehicle(425, 323.6243, 1963.4144, 20.0000, 90.0000, -1, -1, 100);
CreateVehicle(425, 323.5061, 1978.0255, 20.0000, 90.0000, -1, -1, 100);
CreateVehicle(432, 275.2589, 1966.1860, 17.0000, -110.0000, -1, -1, 100);
CreateVehicle(432, 274.6837, 1945.3484, 17.0000, -80.0000, -1, -1, 100);
CreateVehicle(432, 275.9695, 1950.6940, 17.0000, -80.0000, -1, -1, 100);
CreateVehicle(432, 275.5757, 1960.5172, 17.0000, -110.0000, -1, -1, 100);
CreateVehicle(470, 272.8034, 1979.9220, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(470, 272.9760, 1983.6744, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(470, 272.1414, 1987.2354, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(470, 272.0063, 1990.9027, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(470, 271.4885, 1994.7446, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(470, 271.6368, 1998.6141, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(470, 280.6031, 1998.6675, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(470, 280.6672, 1994.7002, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(470, 280.0574, 1990.8910, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(470, 280.5370, 1987.3325, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(470, 280.2982, 1983.6122, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(470, 280.2175, 1980.1929, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(433, 275.9406, 2014.4508, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(433, 276.3417, 2018.9447, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(433, 276.9973, 2023.5570, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(433, 276.7699, 2028.1631, 17.0000, -90.0000, -1, -1, 100);
CreateVehicle(433, 276.5568, 2032.5929, 17.0000, -90.0000, -1, -1, 100);
CreateObject(987, 286.48, 2001.28, 16.00,   0.00, 0.00, 90.00);
CreateObject(987, 266.65, 2001.61, 16.00,   0.00, 0.00, 90.00);
CreateObject(987, 286.46, 1966.99, 16.00,   0.00, 0.00, 90.00);
CreateObject(987, 266.79, 1967.16, 16.00,   0.00, 0.00, 90.00);
CreateObject(987, 266.78, 1940.86, 16.00,   0.00, 0.00, 90.00);
CreateObject(987, 266.47, 2026.72, 16.00,   0.00, 0.00, 90.00);
CreateObject(988, 286.96, 2023.64, 17.00,   0.00, 0.00, 90.00);
CreateObject(988, 286.69, 1955.95, 17.00,   0.00, 0.00, 90.00);
CreateObject(988, 283.78, 1953.75, 17.00,   0.00, 0.00, 90.00);
CreateObject(988, 286.90, 1989.82, 17.00,   0.00, 0.00, 90.00);
return 1;
}




public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/opengarage", true) == 0)
    {
        new string[50];
        new movetime = MoveObject(eerste, 3294, 286.60, 2018.00, 10.00, 60.00);
         movetime = MoveObject(tweede, 3294, 286.59, 2029.46, 10.00, 60.00);
         movetime = MoveObject(derde, 3294, 286.59, 1995.40, 10.00, 60.00);
         movetime = MoveObject(vierde, 3294, 286.73, 1983.90, 10.00, 60.00);
         movetime = MoveObject(vijfde, 3294, 286.47, 1961.53, 10.00, 60.00);
         movetime = MoveObject(zesde, 3294, 284.63, 1948.74, 10.00, 60.00);
        format(string, sizeof(string), "garages are open", movetime);
        SendClientMessage(playerid, 0xFF000000, string);
        return 1;
    }
if(strcmp(cmdtext, "/closegarage", true) == 0)
    {
         new string[50];
         new movetime = MoveObject(eerste, 286.60, 2018.00, 19.00,60.00);
         movetime = MoveObject(tweede, 286.60, 2029.46, 19.00,60.00);
         movetime = MoveObject(derde, 286.60, 1995.40, 19.00,60.00);
         movetime = MoveObject(vierde, 286.60, 1983.90, 19.00,60.00);
         movetime = MoveObject(vijfde, 286.60, 1961.53, 19.00,60.00);
         movetime = MoveObject(zesde, 286.60, 1949.91, 19.00,60.00);
        format(string, sizeof(string), "garages are close", movetime);
        SendClientMessage(playerid, 0xFF000000, string);
        return 1;
    }
    return 0;
}


Like my work? +Rep
Reply
#2

First, Wrong Section.
Reply
#3

Wrong section. Add it to the maps, also add some pictures.
Reply
#4

Any pics?
Reply
#5

eehm this is a filterscript guys he made some moving gates and cmds so its not a map anymore... but post some screens pls and nice
Reply
#6

screens please
Reply
#7

dude i see your dutch i fink nut where is the download?? taw file i wil used it but er si nto download
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)