03.06.2010, 15:55
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.
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..
pawn Код:
enum whatever
{
name[20]
};
new vdata[MAX_CARS][whatever];
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..