Truck error
#3

Код:
Vehicle_AddStatic(vModel, Float:vX, Float:vY, Float:vZ, Float:vRotation, vC1, vC2, vSpawnDelay)
{
	// Create a new static vehicle during GameModeInit
	new vid = AddStaticVehicleEx(vModel, vX, vY, vZ, vRotation, vC1, vC2, vSpawnDelay);
	// Save the vehicle-model
    AVehicleData[vid][Model] = vModel;
	// Set the fuel to maximum so the vehicle can be used
    AVehicleData[vid][Fuel] = MaxFuel;
	// Save the colors
    AVehicleData[vid][Color1] = vC1;
    AVehicleData[vid][Color2] = vC2;
	// Set this vehicle as a static vehicle
	AVehicleData[vid][StaticVehicle] = true;

	return vid;
}
Reply


Messages In This Thread
Truck error - by DerickClark - 04.05.2013, 20:14
Re: Truck error - by [MG]Dimi - 04.05.2013, 20:16
Re: Truck error - by DerickClark - 04.05.2013, 20:20
Re: Truck error - by XStormiest - 04.05.2013, 20:23
Re: Truck error - by DerickClark - 04.05.2013, 20:24

Forum Jump:


Users browsing this thread: 2 Guest(s)