Help with tuned cars.
#1

I want to make a function like.

Код:
CreateTunedVehicle(MODELID,X,Y,Z,A,C1,C2,TYPE_OF_CAR);
//MODELID = The car's id
//X,Y,Z = x,y,z position
//A = Angle
//C1, C2 = color 1, color 2
//TYPE_OF_CAR should have the options of 1,2, or 3.
Here are the three types:



Can anyone help?

Note: I dont' want a CreateStaticVehicle just a CreateVehicle

Btw I'm looking for mappers. check out my server: 67.228.177.42:4900
Reply
#2

Is this too hard to make?
Reply
#3

Please don't double post within a few hours.

And no, It's possible, but I don't have the time to work with that atm, if you want it made for you post in the "Script Request Thread"
Reply
#4

http://forum.sa-mp.com/index.php?topic=69598.0
Might help in making the function
Reply
#5

there is Addvehiclecomponent you can use the id of the car and model id of tune item, look on wiki for mor info

/cake
Reply
#6

In the function, create a vehicle then add components to the vehicle depending on the ID, as the guys above said.

pawn Код:
myFunction(stuff)
{
  new veh = CreateVehicle(stuff);
  AddVehicleComponent(veh, component);
  return true;
}
Reply
#7

Does anyone know the compentents or have a car like this already made? I will look in wiki but if it's already done then there's no point lol. :P thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)