Get vehicle ID from name?
#9

Take a look at my Hire System [FS], It has a way to assign IDs to vehicles etc, That's also enumerated, maybe you can go on from there.

pawn Код:
enum whatever
{
name[20]
};

new vdata[MAX_CARS][whatever];
Then you can loop through all vehicle ID's, and check if their one of the custom IDs.
If they are, compare params with the VehicleID's name and wallah!

But yeah, if you're really stuck, take a peep into my hire system, It has a methord of assigning a VehicleID etc, etc..
Reply


Messages In This Thread
Get vehicle ID from name? - by randomkid88 - 03.06.2010, 05:50
Re: Get vehicle ID from name? - by cessil - 03.06.2010, 06:06
Re: Get vehicle ID from name? - by Backwardsman97 - 03.06.2010, 06:09
Re: Get vehicle ID from name? - by randomkid88 - 03.06.2010, 06:28
Re: Get vehicle ID from name? - by Backwardsman97 - 03.06.2010, 06:38
Re: Get vehicle ID from name? - by randomkid88 - 03.06.2010, 14:48
Re: Get vehicle ID from name? - by RyDeR` - 03.06.2010, 14:52
Re: Get vehicle ID from name? - by randomkid88 - 03.06.2010, 15:34
Re: Get vehicle ID from name? - by Joe_ - 03.06.2010, 15:55
Re: Get vehicle ID from name? - by RyDeR` - 03.06.2010, 19:18

Forum Jump:


Users browsing this thread: 1 Guest(s)