Few questions about Vehicles giving and Objects Materials :
#4

Are you looking for something like this ?

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

#include <a_samp>

new VObject_0;

new CarVid;

public OnFilterScriptInit()
{
    CarVid = CreateVehicle(559, 2485.702636, -1664.794189, 12.963111, 1.945271, 122, 70, 3600);
    ChangeVehiclePaintjob(CarVid, 3);

    VObject_0 = CreateObject(19482, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);

    SetObjectMaterialText(VObject_0, "RULES", 0, 130, "Ariel", 50, 1, -65536, 0, 1);

    AttachObjectToVehicle(VObject_0, CarVid, 0.000000, 1.500000, 0.279999, -2.000000, -90.000000, 45.000000);
}

public OnFilterScriptExit()
{
    DestroyVehicle(CarVid);

    DestroyObject(VObject_0);
}

public OnVehicleSpawn(vehicleid)
{
    if(CarVid == vehicleid)
    {
        ChangeVehiclePaintjob(vehicleid, 3);
    }
}
Reply


Messages In This Thread
Few questions about Vehicles giving and Objects Materials : - by yaron0600 - 08.05.2013, 11:17
Re: Few questions about Vehicles giving and Objects Materials : - by Pooh7 - 08.05.2013, 11:33
Re: Few questions about Vehicles giving and Objects Materials : - by yaron0600 - 08.05.2013, 11:37
Re: Few questions about Vehicles giving and Objects Materials : - by Pottus - 08.05.2013, 11:45
Re: Few questions about Vehicles giving and Objects Materials : - by yaron0600 - 08.05.2013, 11:53

Forum Jump:


Users browsing this thread: 1 Guest(s)