Advertisement
Guest User

Untitled

a guest
Apr 15th, 2012
322
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.49 KB | None | 0 0
  1. new vehicle = GetVehicleModelIDFromName(carname);
  2.  
  3. GetVehicleModelIDFromName(vname[])
  4. {
  5. for(new i = 0; i < 211; i++)
  6. {
  7. if(strfind(aVehicleNames[i], vname, true) != -1)
  8. return i + 400;
  9. }
  10. return -1;
  11. }
  12.  
  13.  
  14. new aVehicleNames[212][] =
  15. {
  16. {"Landstalker"},{"Bravura"},{"Buffalo"},
  17. {"Linerunner"},{"Perrenial"},{"Sentinel"},{"Dumper"},
  18. {"Firetruck"},{"Trashmaster"},{"Stretch"},{"Manana"},
  19. {"Infernus"},{"Voodoo"},{"Pony"},{"Mule"},
  20. {"Cheetah"},{"Ambulance"},{"Leviathan"},{"Moonbeam"},
  21. {"Esperanto"},{"Taxi"},{"Washington"},{"Bobcat"},
  22. {"Mr Whoopee"},{"BF Injection"},{"Hunter"},{"Premier"},
  23. {"Enforcer"},{"Securicar"},{"Banshee"},{"Predator"},
  24. {"Bus"},{"Rhino"},{"Barracks"}, {"Hotknife"},
  25. {"Trailer 1"}, {"Previon"},{"Coach"}, {"Cabbie"},
  26. {"Stallion"}, {"Rumpo"},{"RC Bandit"}, {"Romero"},
  27. {"Packer"}, {"Monster"},{"Admiral"}, {"Squalo"},
  28. {"Seasparrow"}, {"Pizzaboy"},{"Tram"}, {"Trailer 2"},
  29. {"Turismo"}, {"Speeder"},{"Reefer"}, {"Tropic"},
  30. {"Flatbed"}, {"Yankee"},{"Caddy"}, {"Solair"},
  31. {"Berkley's RC Van"}, {"Skimmer"},{"PCJ-600"}, {"Faggio"},
  32. {"Freeway"}, {"RC Baron"},{"RC Raider"}, {"Glendale"},
  33. {"Oceanic"}, {"Sanchez"},{"Sparrow"}, {"Patriot"},
  34. {"Quad"}, {"Coastguard"},{"Dinghy"}, {"Hermes"},
  35. {"Sabre"}, {"Rustler"},{"ZR-350"}, {"Walton"},
  36. {"Regina"}, {"Comet"},{"BMX"}, {"Burrito"},
  37. {"Camper"}, {"Marquis"},{"Baggage"}, {"Dozer"},
  38. {"Maverick"}, {"News Chopper"},{"Rancher"}, {"FBI Rancher"},
  39. {"Virgo"}, {"Greenwood"},{"Jetmax"}, {"Hotring"},
  40. {"Sandking"}, {"Blista Compact"},{"Police Maverick"}, {"Boxville"},
  41. {"Benson"}, {"Mesa"},{"RC Goblin"}, {"Hotring Racer A"},
  42. {"Hotring Racer B"}, {"Bloodring Banger"},{"Rancher"}, {"Super GT"},
  43. {"Elegant"}, {"Journey"},{"Bike"}, {"Mountain Bike"},
  44. {"Beagle"}, {"Cropdust"},{"Stunt"}, {"Tanker"},
  45. {"Roadtrain"}, {"Nebula"},{"Majestic"}, {"Buccaneer"},
  46. {"Shamal"}, {"Hydra"},{"FCR-900"}, {"NRG-500"},
  47. {"HPV1000"}, {"Cement Truck"},{"Tow Truck"}, {"Fortune"},
  48. {"Cadrona"}, {"FBI Truck"},{"Willard"}, {"Forklift"},
  49. {"Tractor"}, {"Combine"},{"Feltzer"}, {"Remington"},
  50. {"Slamvan"}, {"Blade"},{"Freight"}, {"Streak"},
  51. {"Vortex"}, {"Vincent"},{"Bullet"}, {"Clover"},
  52. {"Sadler"}, {"Firetruck LA"},{"Hustler"}, {"Intruder"},
  53. {"Primo"}, {"Cargobob"},{"Tampa"}, {"Sunrise"},
  54. {"Merit"}, {"Utility"},{"Nevada"}, {"Yosemite"},
  55. {"Windsor"}, {"Monster A"},{"Monster B"}, {"Uranus"},
  56. {"Jester"}, {"Sultan"},{"Stratum"}, {"Elegy"},
  57. {"Raindance"}, {"RC Tiger"},{"Flash"}, {"Tahoma"},
  58. {"Savanna"}, {"Bandito"},{"Freight Flat"}, {"Streak Carriage"},
  59. {"Kart"}, {"Mower"},{"Duneride"}, {"Sweeper"},
  60. {"Broadway"}, {"Tornado"},{"AT-400"}, {"DFT-30"},
  61. {"Huntley"}, {"Stafford"},{"BF-400"}, {"Newsvan"},
  62. {"Tug"}, {"Trailer 3"},{"Emperor"}, {"Wayfarer"},
  63. {"Euros"}, {"Hotdog"},{"Club"}, {"Freight Carriage"},
  64. {"Trailer 3"}, {"Andromada"},{"Dodo"}, {"RC Cam"},
  65. {"Launch"}, {"Police Car (LSPD)"},{"Police Car (SFPD)"}, {"Police Car (LVPD)"},
  66. {"Police Ranger"}, {"Picador"},{"S.W.A.T. Van"}, {"Alpha"},
  67. {"Phoenix"}, {"Glendale"},{"Sadler"}, {"Luggage Trailer A"},
  68. {"Luggage Trailer B"}, {"Stair Trailer"},{"Boxville"}, {"Farm Plow"},
  69. {"Utility Trailer"}
  70. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement