[Include] [INC] Vehicle Names Include.
#1

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 ?

pawn Код:
#include <vehicles>
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:
Reply
#2

Good idea! Will this also work with CreateVehicle?
Reply
#3

Quote:
Originally Posted by Sanchez777
Good idea! Will this also work with CreateVehicle?
Yes..
Reply
#4

This is easy but very [size=20pt]gooood
Reply
#5

I'm sorry but, this seems useless. It's easier + haves more function capability to use aVehicleNames from Debug.
Reply
#6

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
Reply
#7

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
Reply
#8

Or you could do

new infernus;
infernus = CreateVehicle();

:S
Reply
#9

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!
Reply
#10

will regular IDs work with your include?
Reply
#11

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.
Reply
#12

goodie!
Then I will definetly use it!

nice include indeed!
Reply
#13

Great =D Now I dont have to wander around SA-MP wiki for id's! Thank you!
Reply
#14

Thanks. You guys are now trying to get me back into scripting. lol
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)