Tuned Spawn Cars?
#1

Hi,
How Can I Make a Car That is tuned When it Spawns?
Greetings Gforce

Just like a tuned Car thats Respawns At his Saved possision
Reply
#2

Please Help me, Nobody Knows how?
Reply
#3

Re-add the components under OnVehicleSpawn(vehicleid)
Reply
#4

first spawn car then add components
Reply
#5

heres what i do

pawn Код:
new ajester;

public OnFilterScriptInit()
{
    ajester = AddStaticVehicle(559, -1856.5349, -1692.7161, 41.2017, 32.5108, 0, 0);
    AddVehicleComponent(ajester,1158); // X-Flow Spoiler
    AddVehicleComponent(ajester,1161); // X-Flow Rear Bumper
    AddVehicleComponent(ajester,1173); // X-Flow Front Bumper
    AddVehicleComponent(ajester,1068); // X-Flow Roof
    AddVehicleComponent(ajester,1066); // X-Flow Exhaust
    AddVehicleComponent(ajester,1072); // X-Flow Left Sideskirt
    AddVehicleComponent(ajester,1070); // X-Flow Right Sideskirt
    AddVehicleComponent(ajester,1010); // Nitro 10 times
    return 1;
}

public OnVehicleSpawn(vehicleid)
{
// Jester

        AddVehicleComponent(ajester,1158); // X-Flow Spoiler
        AddVehicleComponent(ajester,1161); // X-Flow Rear Bumper
        AddVehicleComponent(ajester,1173); // X-Flow Front Bumper
        AddVehicleComponent(ajester,1068); // X-Flow Roof
        AddVehicleComponent(ajester,1066); // X-Flow Exhaust
        AddVehicleComponent(ajester,1072); // X-Flow Left Sideskirt
        AddVehicleComponent(ajester,1070); // X-Flow Right Sideskirt
        AddVehicleComponent(ajester,1010); // Nitro 10 times
        return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)