AttachObjectToVehicle Arrays
#3

You created the object 'myobject' ?

pawn Код:
public OnVehicleSpawn(vehicleid)
{
    if(GetVehicleModel(vehicleid) == 596) // LSPD
    {
        new rand = random(sizeof(PDObjects));
        AttachObjectToVehicle(myobject, vehicleid, PDObjects[rand][0], PDObjects[rand][1], PDObjects[rand][2], PDObjects[rand][3], PDObjects[rand][4], PDObjects[rand][5]);
    }
    return true;
}
Reply


Messages In This Thread
AttachObjectToVehicle Arrays - by Luis- - 27.05.2012, 18:15
Re: AttachObjectToVehicle Arrays - by Luis- - 27.05.2012, 18:48
Re: AttachObjectToVehicle Arrays - by ViniBorn - 27.05.2012, 19:22
Re: AttachObjectToVehicle Arrays - by Luis- - 27.05.2012, 19:34
Re: AttachObjectToVehicle Arrays - by ViniBorn - 27.05.2012, 19:57
Re: AttachObjectToVehicle Arrays - by Luis- - 27.05.2012, 20:05

Forum Jump:


Users browsing this thread: 1 Guest(s)