FinchDon

  • Sr. Member
  • Posts: 252
Custom Vehicles
« on September 21st, 2015, 12:41 PM »Last edited on September 21st, 2015, 06:46 PM
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

Code: [Select]
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 );
}










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
For any help and support Join #s-s at IRC for Help in Scripting
( For Newbies )

MacTavish

  • Hero Member
  • Nicks( Kusanagi, Beztone, RATHORE )
  • Posts: 809
Re: Custom Vehicles
« Reply #1, on September 21st, 2015, 01:13 PM »
Did you really tested the code? You missed Angle there

Use


Code: [Select]
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 );
}

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

Zeeshan.Bhatti

  • Full Member
  • Posts: 213

FinchDon

  • Sr. Member
  • Posts: 252
Re: Custom Vehicles
« Reply #3, on September 21st, 2015, 02:48 PM »
Sorry I forgot Angle Thanks Beztone I Didnt Test cmd
For any help and support Join #s-s at IRC for Help in Scripting
( For Newbies )

KAKAN

  • Wiki Contributor
  • Posts: 3,343
Re: Custom Vehicles
« Reply #4, on September 21st, 2015, 02:58 PM »
Stop posting this all! Everyone knows it!
You can contact me using Discord, at Developers.CPP( check off-board to find the invite link )
Github: https://github.com/theKAKAN

FinchDon

  • Sr. Member
  • Posts: 252
Re: Custom Vehicles
« Reply #5, on September 21st, 2015, 03: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
For any help and support Join #s-s at IRC for Help in Scripting
( For Newbies )

EK.IceFlake

  • Hero Member
  • "We are the champions my fellahs" - Sufyan/VK.SuFy
  • Posts: 1,761
Re: Custom Vehicles
« Reply #6, on September 21st, 2015, 03: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

KAKAN

  • Wiki Contributor
  • Posts: 3,343
Re: Custom Vehicles
« Reply #8, on September 21st, 2015, 05: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
You can contact me using Discord, at Developers.CPP( check off-board to find the invite link )
Github: https://github.com/theKAKAN

Thijn

  • VC:MP Beta Tester
  • Posts: 1,688
Re: Custom Vehicles
« Reply #9, on September 21st, 2015, 06:03 PM »
Quote from NE.CrystalBlue on September 21st, 2015, 03: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.

FinchDon

  • Sr. Member
  • Posts: 252
For any help and support Join #s-s at IRC for Help in Scripting
( For Newbies )

KAKAN

  • Wiki Contributor
  • Posts: 3,343
Re: Custom Vehicles
« Reply #11, on September 21st, 2015, 06:53 PM »
Then also, whats this?
Quote from Noob
Credits:FinchDon
What's that, whole credits to you, you did nothing except the cmds, the credits should be: Credits Car creators
You can contact me using Discord, at Developers.CPP( check off-board to find the invite link )
Github: https://github.com/theKAKAN

FinchDon

  • Sr. Member
  • Posts: 252
Re: Custom Vehicles
« Reply #12, on September 22nd, 2015, 02:42 AM »
Are you blimd or mad I already Add There from start
Creator:IDK
For any help and support Join #s-s at IRC for Help in Scripting
( For Newbies )