Vice City: Multiplayer

Server Development => Scripting and Server Management => Snippet Showroom => Topic started by: FinchDon on Sep 21, 2015, 11:41 AM

Title: Custom Vehicles
Post by: FinchDon on Sep 21, 2015, 11:41 AM
Hello Everyone i saw many peoples ask me how to Add Custom Vehicle so i am here with complete Instruction

I want to share some Custom Vehicles

Mustang
Galardo

These car's are not created by Me

Credits:FinchDon
Car Creator:IDK

What You need to do?

just add this onPlayerCommand

if ( cmd == "galardo" )
{
CreateVehicle( 6461, 0, Vector( player.Pos.x, player.Pos.y+3, player.Pos.z ),player.Angle, 1, 1 );
MessagePlayer( "Wow Galardo in VCMP Omg", player );
}
else if ( cmd == "mustang" )
{
CreateVehicle( 6455, 0, Vector( player.Pos.x, player.Pos.y+3, player.Pos.z ),player.Angle, 0, 0 );
MessagePlayer( "Wow Mustang in VCMP Omg", player );
}



(http://files.thijn.ovh/img/7ea9166e45e113f6dcbd5bc42a62e751/v6461_t0_p2_galardo.7z) (http://files.thijn.ovh/download/7ea9166e45e113f6dcbd5bc42a62e751/v6461_t0_p2_galardo.7z)



(http://files.thijn.ovh/img/aaa8419d6d349499c7add718c3f0b133/v6455_t0_p2_mustang.7z) (http://files.thijn.ovh/download/aaa8419d6d349499c7add718c3f0b133/v6455_t0_p2_mustang.7z)


You need to put these files in
serverroot/store/vehicles/here

In the Name of vehicles rar v6461 is ID it is from 6400 to 6499 u can change them but also cmd
 t0 mean this is car t1 is bike
p2 is passenger means 2 passenger can sit in car maximum is 4

Topic Updated
Title: Re: Custom Vehicles
Post by: MacTavish on Sep 21, 2015, 12:13 PM
Did you really tested the code? You missed Angle there

Use


if ( cmd == "galardo" )
{
CreateVehicle( 6461, 0, Vector( player.Pos.x, player.Pos.y+3, player.Pos.z ),player.Angle, 1, 1 );
MessagePlayer( "Wow Galardo in VCMP Omg", player );
}
else if ( cmd == "mustang" )
{
CreateVehicle( 6455, 0, Vector( player.Pos.x, player.Pos.y+3, player.Pos.z ),player.Angle, 0, 0 );
MessagePlayer( "Wow Mustang in VCMP Omg", player );
}
Title: Re: Custom Vehicles
Post by: SAzEe21 on Sep 21, 2015, 12:53 PM
Good work !
Title: Re: Custom Vehicles
Post by: FinchDon on Sep 21, 2015, 01:48 PM
Sorry I forgot Angle Thanks Beztone I Didnt Test cmd
Title: Re: Custom Vehicles
Post by: KAKAN on Sep 21, 2015, 01:58 PM
Stop posting this all! Everyone knows it!
Title: Re: Custom Vehicles
Post by: FinchDon on Sep 21, 2015, 02:07 PM
Not All @KAKAN You can take example of @Decent_946 he ask me about 1 week ago how to Add Custom Vehicles so i post for them
Title: Re: Custom Vehicles
Post by: EK.IceFlake on Sep 21, 2015, 02:54 PM
"what you need to do?
just add this on onPlayerCommand"
oh really but how do you know we have vehicle installed? you give us the file. where we put it? plugins? sprites?
btw we put it here /serverroot/store/vehicles
Title: Re: Custom Vehicles
Post by: KAKAN on Sep 21, 2015, 04:05 PM
Quote from: FinchDon on Sep 21, 2015, 02:07 PMNot All @KAKAN You can take example of @Decent_946 he ask me about 1 week ago how to Add Custom Vehicles so i post for them

If someone has eyes to see, brain to think, he/she can refer to this too:-
http://forum.vc-mp.org/?topic=975.0

There are many vehicles, and you copied one of them and didn't even gave the credits
Title: Re: Custom Vehicles
Post by: KAKAN on Sep 21, 2015, 04:10 PM
Vehicles for this mod
Author: Suction Testicle Man
Mazda MX-5 (GTAGarage)
Nissan S13 Silvia (GTAGarage)
Audi A8 (GTAGarage)
Austin Mini Metro (GTAGarage)
BMW M3 (GTAGarage)
Lamborghini Countach (GTAGarage)
Mercedes Benz S600 (GTAGarage)
Voodoo Police with police AI (GTAGarage)
Author: ALMOST610
Cut VC Stretch (GTAGarage)
Oceanic Stretch (GTAGarage)
Romero Ute (GTAGarage)
Stinger with tuning parts(GTAGarage)
Oceanic Police with police AI (GTAGarage)
VC Regal (GTAGarage)
Vice Premier (GTAGarage)
Impaler (GTAGarage)
Regal Taxi (GTAGarage)
SA Police Vehicles (GTAGarage)
Author: MW_29. Aircrafts:
Hydra (GTAGarage)
Rustler (GTAGarage)
Shamal (GTAGarage)
Dodo (GTAGarage)
Author: spectralized
Cobra (GTAGarage)
Cockroach (GTAGarage)
Luinx (GTAGarage)
Xegg (GTAGarage)
Turbocharge (mvlvehicles.dmon.com)
Author: Jur1zz
Original thread: Vehicles For VC, with tuning parts
Slamvan with tuning parts(GTAGarage)
Blista Compact GT with tuning parts(GTAGarage)
Author: Krzer
Thunderrodd (GTAGarage)
Super Comet (GTAGarage)
Super PCJ-600 (GTAGarage)
Author: MG3
Taxi Pack (GTAGarage)
Deathrunner (GTAGarage)
Greenwood Custom (GTAGarage)
Author: H3NR1QU3
HPV1000 with police AI (Direct link)
Author: SomeGuy86
Kuruma Pack (GTAGarage)
VC vehicle pack
III vehicle pack
Authors: toyGT_one and nabnabnabn
GTA IV Vehicles (GTAGarage)
Samples:
Armed Comet, WEAPONS DEMO, custom weapon model by kikiboy95 (Direct link)
---------------- Hotkeys for this vehicle: Shift+5 - dock rocket launchers, Shift+Z / Shift+X - move rocket launchers,
---------------- Shift+C - restore rocket launchers' position, Ctrl+Shift - fire rocket launchers, Ctrl+Z - fire machine guns.

This are the mods available for free
Title: Re: Custom Vehicles
Post by: Thijn on Sep 21, 2015, 05:03 PM
Quote from: NE.CrystalBlue on Sep 21, 2015, 02:54 PM"what you need to do?
just add this on onPlayerCommand"
oh really but how do you know we have vehicle installed? you give us the file. where we put it? plugins? sprites?
btw we put it here /serverroot/store/vehicles
Exactly, this isn't a howto on how to add them. You just gave a tiny snippet anyone could make, give two files you can download and that's it.
You aren't telling people what to name the files, which files the 7z need, where to place the file, any other configuration needed etc.
Title: Re: Custom Vehicles
Post by: FinchDon on Sep 21, 2015, 05:47 PM
@NE.CrystalBlue My cars are not in your list anyway Topic updated
@KAKAN i already say i dont know vehicles creator..
Title: Re: Custom Vehicles
Post by: KAKAN on Sep 21, 2015, 05:53 PM
Then also, whats this?
Quote from: NoobCredits:FinchDon
What's that, whole credits to you, you did nothing except the cmds, the credits should be: Credits Car creators
Title: Re: Custom Vehicles
Post by: FinchDon on Sep 22, 2015, 01:42 AM
Are you blimd or mad I already Add There from start
Creator:IDK