22.08.2009, 04:39
Couple of problems with that.
- GetVehicleModelIDFromName isn't in his GameMode so it will return an "Undefined Function" error
- It looks likes you're destroying a vehicle who's vehicleid is the same as the modelid the player types in, which will result in unwanted actions
- You create the vehicle with the variable 'carid' but put the player into the vehicle with the variable 'car' which is a modelid, and not a veihcleid.