SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 17/11/2009, 10:52 PM   #1
Enzo_Ferrari_V12
Big Clucker
 
Join Date: Jul 2008
Posts: 66
Reputation: 0
Default Help with tuned cars.

I want to make a function like.

Code:
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
Enzo_Ferrari_V12 is offline  
Old 18/11/2009, 12:25 AM   #2
Enzo_Ferrari_V12
Big Clucker
 
Join Date: Jul 2008
Posts: 66
Reputation: 0
Default Re: Help with tuned cars.

Is this too hard to make?
Enzo_Ferrari_V12 is offline  
Old 18/11/2009, 03:19 AM   #3
_Vortex
Gangsta
 
Join Date: May 2009
Posts: 783
Reputation: 4
Default Re: Help with tuned cars.

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"
__________________
_Vortex is offline  
Old 18/11/2009, 03:39 AM   #4
Retardedwolf
High-roller
 
Retardedwolf's Avatar
 
Join Date: Jun 2009
Posts: 1,468
Reputation: 60
Default Re: Help with tuned cars.

http://forum.sa-mp.com/index.php?topic=69598.0
Might help in making the function
Retardedwolf is offline  
Old 18/11/2009, 10:12 AM   #5
Daniel_Truk
Huge Clucker
 
Join Date: Mar 2009
Location: Soviet Federation
Posts: 200
Reputation: 2
Default Re: Help with tuned cars.

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

/cake
__________________
Daniel_Truk is offline  
Old 18/11/2009, 11:14 AM   #6
LarzI
High-roller
 
LarzI's Avatar
 
Join Date: Apr 2007
Location: Norway
Posts: 2,628
Reputation: 136
Default Re: Help with tuned cars.

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

pawn Code:
myFunction(stuff)
{
  new veh = CreateVehicle(stuff);
  AddVehicleComponent(veh, component);
  return true;
}
__________________


NEW: [FS] Simple Cellphones

if( strfind( title, "REP", true ) != -1 )
{________________________________________
Sigh();__________________________
}________________________________________


LarzI is offline  
Old 18/11/2009, 09:14 PM   #7
Enzo_Ferrari_V12
Big Clucker
 
Join Date: Jul 2008
Posts: 66
Reputation: 0
Default Re: Help with tuned cars.

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.
Enzo_Ferrari_V12 is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tuned Cars RatHack Help Archive 5 07/07/2010 11:37 AM
Tuned cars --after respawn--> normal cars Edna Krabapel Help Archive 8 31/01/2010 06:52 PM
[HELP]Tuned Cars faloleroy Help Archive 2 03/01/2010 09:11 AM
[FilterScript] [FS] Tuned Cars Darkcha0s Filterscripts 15 29/05/2009 02:18 PM
How to add Tuned up Cars djdanni Help Archive 8 12/03/2009 04:29 PM


All times are GMT. The time now is 02:34 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.