[INC] Vehicle Names Include. -
rafay - 01.01.2009
What ?
It includes all the names of the vehicles found in San Andreas
Basically if you are hunting for vehicles IDs, with this include you can easily do your work.
How ?
If you don't know a ID of a vehicle & searching all over for the ID, you can easily add the vehicle's name
Example:
AddStaticVehicle(522,3065.447,-710.515,2441.421,265.0,-1,-1);
With this include:
AddStaticVehicle(nrg500,3065.447,-710.515,2441.421,265.0,-1,-1);
It will do the same function. Just replace the ID with the Name.
Why ?
I created this include for those who don't wants to search for IDs. Just add the vehicle's name & it's done!
How to Use ?
Add this code under #include <a_samp>
& then whenever you want to add a vehicle in your gamemode.
pawn Код:
AddStaticVehicle(nrg500,3065.447,-710.515,2441.421,265.0,-1,-1); //Example 1
AddStaticVehicle(infernus,3065.447,-710.515,2441.421,265.0,-1,-1); //Example 2
AddStaticVehicle(sultan,3065.447,-710.515,2441.421,265.0,-1,-1); //Example 3
More ?
It's my first basic include.
Also works with CreateVehicle.
If you are gonna comment like a kid, Don't! Because i know you are a Einstein who know all IDs, so stop the rubish comments
Download:
Re: [INC] Vehicle Names Include. -
Sanchez777 - 02.01.2009
Good idea! Will this also work with CreateVehicle?
Re: [INC] Vehicle Names Include. -
rafay - 02.01.2009
Quote:
Originally Posted by Sanchez777
Good idea! Will this also work with CreateVehicle?
|
Yes..
Re: [INC] Vehicle Names Include. -
hamptonin - 02.01.2009
This is easy but very [size=20pt]gooood
Re: [INC] Vehicle Names Include. -
Zezombia - 02.01.2009
I'm sorry but, this seems useless. It's easier + haves more function capability to use aVehicleNames from Debug.
Re: [INC] Vehicle Names Include. -
hamptonin - 02.01.2009
Quote:
Originally Posted by Zezombia
I'm sorry but, this seems useless. It's easier + haves more function capability to use aVehicleNames from Debug.
|
I do not understand why you post here because most of the good, and you go have a debug
Re: [INC] Vehicle Names Include. -
rafay - 02.01.2009
Quote:
Originally Posted by .: Mave :.
Very nice rafay 
|
Quote:
Originally Posted by hamptonin
This is gooood
|
Thanks
Quote:
Originally Posted by Zezombia
I'm sorry but, this seems useless. It's easier + haves more function capability to use aVehicleNames from Debug.
|
Quote:
If you are gonna comment like a kid, Don't!
|
but i don't care about that comment

this is useless for you but not for those who finds it useful
Re: [INC] Vehicle Names Include. -
Mikep - 03.01.2009
Or you could do
new infernus;
infernus = CreateVehicle();
:S
Re: [INC] Vehicle Names Include. -
rafay - 03.01.2009
Quote:
Originally Posted by Mikep
Or you could do
new infernus;
infernus = CreateVehicle();
:S
|
u did got the include.
it's like this
CreateVehicle(
uranus,-1200.252,-1954.027,2547.196,173.0,-1,-1, 200); // Uranus
it replaces the vehicle id with the vehicle's name!
Re: [INC] Vehicle Names Include. -
wavefunction - 07.02.2009
will regular IDs work with your include?
Re: [INC] Vehicle Names Include. -
rafay - 07.02.2009
Quote:
Originally Posted by wavefunction
will regular IDs work with your include?
|
What do you mean ? if you mean all the vehicles ids then yes it will work.
Re: [INC] Vehicle Names Include. -
wavefunction - 08.02.2009
goodie!
Then I will definetly use it!

nice include indeed!
Re: [INC] Vehicle Names Include. -
Klutty - 12.04.2009
Great =D Now I dont have to wander around SA-MP wiki for id's! Thank you!
Re: [INC] Vehicle Names Include. -
rafay - 13.04.2009
Thanks. You guys are now trying to get me back into scripting. lol