[FilterScript] Urban Airlines Shamal
#1

Urban Airlines Shamal

Someone suggesting doing a plane after the Aliencar so we played around a bit with this it's nothing too special but interesting.



pawn Код:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////420medit Filter Script Export////////////////////////////////////////////////////////////////////////////////
////medit/carexports/shamal.pwn By: [uL]Pottus
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#include <a_samp>

new VObject_0;
new VObject_1;
new VObject_2;
new VObject_3;
new VObject_4;
new VObject_5;
new VObject_6;
new VObject_7;
new VObject_8;
new VObject_9;
new VObject_11;
new VObject_12;
new VObject_13;
new VObject_14;

new CarVid;

public OnFilterScriptInit()
{
    CarVid = CreateVehicle(519, 1692.863647, -2593.437988, 14.465404, 270.247650, 97, 123, 3600);
    ChangeVehiclePaintjob(CarVid, 3);
    AddVehicleComponent(CarVid, 1009);

    VObject_0 = CreateObject(19481, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    VObject_1 = CreateObject(19481, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    VObject_2 = CreateObject(19482, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    VObject_3 = CreateObject(19482, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    VObject_4 = CreateObject(1714, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    VObject_5 = CreateObject(1714, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    VObject_6 = CreateObject(1453, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    VObject_7 = CreateObject(1453, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    VObject_8 = CreateObject(19477, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    VObject_9 = CreateObject(19483, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    VObject_11 = CreateObject(3031, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    VObject_12 = CreateObject(2192, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    VObject_13 = CreateObject(19481, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
    VObject_14 = CreateObject(19481, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);

    SetObjectMaterialText(VObject_0, "< ", 0, 140, "Ariel", 200, 1, -65536, 0, 1);
    SetObjectMaterialText(VObject_1, "< ", 0, 140, "Ariel", 200, 1, -65536, 0, 1);
    SetObjectMaterialText(VObject_2, "l ", 0, 130, "Webdings", 150, 0, -65536, 0, 1);
    SetObjectMaterialText(VObject_3, "l ", 0, 130, "Webdings", 150, 0, -65536, 0, 1);
    SetObjectMaterial(VObject_4, 0, -1, "none", "none", 16711680);
    SetObjectMaterial(VObject_4, 1, 14833, "Lee_StripClub", "zebra_skin", -7864320);
    SetObjectMaterial(VObject_5, 0, -1, "none", "none", 16711680);
    SetObjectMaterial(VObject_5, 1, 14833, "Lee_StripClub", "zebra_skin", -7864320);
    SetObjectMaterial(VObject_6, 0, 3922, "bistro", "vent_64", 0);
    SetObjectMaterial(VObject_6, 1, 3967, "cj_airprt", "cj_chromepipe", 0);
    SetObjectMaterial(VObject_7, 0, 3922, "bistro", "vent_64", 0);
    SetObjectMaterial(VObject_7, 1, 3967, "cj_airprt", "cj_chromepipe", 0);
    SetObjectMaterialText(VObject_8, "urban Airlines ", 0, 130, "Ariel", 35, 1, -256, 0, 1);
    SetObjectMaterialText(VObject_9, "с ", 0, 130, "Webdings", 120, 0, -16777216, 0, 0);
    SetObjectMaterial(VObject_11, 2, -1, "none", "none", 16711680);
    SetObjectMaterialText(VObject_13, "< ", 0, 140, "Ariel", 200, 1, -65536, 0, 1);
    SetObjectMaterialText(VObject_14, "< ", 0, 140, "Ariel", 200, 1, -65536, 0, 1);

    AttachObjectToVehicle(VObject_0, CarVid, 4.000000, -0.500000, -0.527999, -2.898000, 88.899002, 78.198997);
    AttachObjectToVehicle(VObject_1, CarVid, -3.900000, -0.449000, -0.540000, 182.899002, 91.197998, 102.198997);
    AttachObjectToVehicle(VObject_2, CarVid, 0.100000, -7.500000, 1.598000, 0.000000, 0.000000, 0.000000);
    AttachObjectToVehicle(VObject_3, CarVid, -0.100000, -7.500000, 1.600000, 0.000000, 0.000000, 0.000000);
    AttachObjectToVehicle(VObject_4, CarVid, -0.370000, 5.157999, -0.727999, 3.000000, 0.000000, 180.000000);
    AttachObjectToVehicle(VObject_5, CarVid, 0.358000, 5.157999, -0.727999, 3.000000, 0.000000, 180.000000);
    AttachObjectToVehicle(VObject_6, CarVid, -1.409000, -3.000000, 0.379000, 90.000000, 0.000000, 180.000000);
    AttachObjectToVehicle(VObject_7, CarVid, 1.419000, -3.000000, 0.370000, 90.000000, 0.000000, 180.000000);
    AttachObjectToVehicle(VObject_8, CarVid, 0.398000, 3.400000, 0.500000, 0.000000, 0.000000, 180.000000);
    AttachObjectToVehicle(VObject_9, CarVid, 0.418999, 4.197999, -0.250000, 0.000000, 0.000000, 0.000000);
    AttachObjectToVehicle(VObject_11, CarVid, 0.300000, 0.000000, 2.000000, 0.000000, 0.000000, 90.000000);
    AttachObjectToVehicle(VObject_12, CarVid, -0.279000, -0.699999, 1.000000, 0.000000, 0.000000, 180.000000);
    AttachObjectToVehicle(VObject_13, CarVid, 4.000000, -0.500000, -0.828000, -2.898000, 88.899002, 78.198997);
    AttachObjectToVehicle(VObject_14, CarVid, -3.900000, -0.449000, -0.840000, 182.899002, 91.197998, 102.198997);
}

public OnFilterScriptExit()
{
    DestroyVehicle(CarVid);

    DestroyObject(VObject_0);
    DestroyObject(VObject_1);
    DestroyObject(VObject_2);
    DestroyObject(VObject_3);
    DestroyObject(VObject_4);
    DestroyObject(VObject_5);
    DestroyObject(VObject_6);
    DestroyObject(VObject_7);
    DestroyObject(VObject_8);
    DestroyObject(VObject_9);
    DestroyObject(VObject_11);
    DestroyObject(VObject_12);
    DestroyObject(VObject_13);
    DestroyObject(VObject_14);
}

public OnVehicleSpawn(vehicleid)
{
    if(CarVid == vehicleid)
    {
        ChangeVehiclePaintjob(vehicleid, 3);
        AddVehicleComponent(vehicleid, 1009);
    }
}
Reply
#2

Looks good
Reply
#3

Lol, Seems nice! xD
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)