<?php$vehicles = array(\"Landstalker\",\"Bravura\",\"Buffalo\",\"Linerunner\",\"Perenniel\",\"Sentinel\",\"Dumper\",\"Firetruck\",\"Trashmaster\",\"Stretch\",\"Manana\",\"Infernus\",\"Voodoo\",\"Pony\",\"Mule\",\"Cheetah\",\"Ambulance\",\"Leviathan\",\"Moonbeam\",\"Esperanto\",\"Taxi\",\"Washington\",\"Bobcat\",\"Mr Whoopee\",\"BF Injection\",\"Hunter\",\"Premier\",\"Enforcer\",\"Securicar\",\"Banshee\",\"Predator\",\"Bus\",\"Rhino\",\"Barracks\",\"Hotknife\",\"Article Trailer\",\"Previon\",\"Coach\",\"Cabbie\",\"Stallion\",\"Rumpo\",\"RC Bandit\",\"Romero\",\"Packer\",\"Monster\",\"Admiral\",\"Squallo\",\"Seasparrow\",\"Pizzaboy\",\"Tram\",\"Article Trailer \",\"Turismo\",\"Speeder\",\"Reefer\",\"Tropic\",\"Flatbed\",\"Yankee\",\"Caddy\",\"Solair\",\"Berkley\'s RC Van\",\"Skimmer\",\"PCJ-600\",\"Faggio\",\"Freeway\",\"RC Baron\",\"RC Raider\",\"Glendale\",\"Oceanic\",\"Sanchez\",\"Sparrow\",\"Patriot\",\"Quad\",\"Coastguard\",\"Dinghy\",\"Hermes\",\"Sabre\",\"Rustler\",\"ZR-350\",\"Walton\",\"Regina\",\"Comet\",\"BMX\",\"Burrito\",\"Camper\",\"Marquis\",\"Baggage\",\"Dozer\",\"Maverick\",\"SAN News Maverick\",\"Rancher\",\"FBI Rancher\",\"Virgo\",\"Greenwood\",\"Jetmax\",\"Hotring Racer\",\"Sandking\",\"Blista Compact\",\"Police Maverick\",\"Boxville\",\"Benson\",\"Mesa\",\"RC Goblin\",\"Hotring Racer\",\"Hotring Racer\",\"Bloodring Banger\",\"Rancher\",\"Super GT\",\"Elegant\",\"Journey\",\"Bike\",\"Mountain Bike\",\"Beagle\",\"Cropduster\",\"Stuntplane\",\"Tanker\",\"Roadtrain\",\"Nebula\",\"Majestic\",\"Buccaneer\",\"Shamal\",\"Hydra\",\"FCR-900\",\"NRG-500\",\"HPV1000\",\"Cement Truck\",\"Towtruck\",\"Fortune\",\"Cadrona\",\"FBI Truck\",\"Willard\",\"Forklift\",\"Tractor\",\"Combine Harvester\",\"Feltzer\",\"Remington\",\"Slamvan\",\"Blade\",\"Freight (Train)\",\"Brownstreak (Train)\",\"Vortex\",\"Vincent\",\"Bullet\",\"Clover\",\"Sadler\",\"Firetruck LA\",\"Hustler\",\"Intruder\",\"Primo\",\"Cargobob\",\"Tampa\",\"Sunrise\",\"Merit\",\"Utility Van\",\"Nevada\",\"Yosemite\",\"Windsor\",\"Monster \'A\'\",\"Monster \'B\'\",\"Uranus\",\"Jester\",\"Sultan\",\"Stratum\",\"Elegy\",\"Raindance\",\"RC Tiger\",\"Flash\",\"Tahoma\",\"Savanna\",\"Bandito\",\"Freight Flat Trailer (Train)\",\"Streak Trailer (Train)\",\"Kart\",\"Mower\",\"Dune\",\"Sweeper\",\"Broadway\",\"Tornado\",\"AT400\",\"DFT-30\",\"Huntley\",\"Stafford\",\"BF-400\",\"Newsvan\",\"Tug\",\"Petrol Trailer\",\"Emperor\",\"Wayfarer\",\"Euros\",\"Hotdog\",\"Club\",\"Freight Box Trailer (Train)\",\"Article Trailer\",\"Andromada\",\"Dodo\",\"RC Cam\",\"Launch\",\"Police Car (LSPD)\",\"Police Car (SFPD)\",\"Police Car (LVPD)\",\"Police Ranger\",\"Picador\",\"SWAT\",\"Alpha\",\"Phoenix\",\"Glendale Shit\",\"Sadler Shit\",\"Baggage Trailer \'A\'\",\"Baggage Trailer \'B\'\",\"Tug Stairs Trailer\",\"Boxville\",\"Farm Trailer\",\"Utility Trailer\");?>
<?php$vehicle = 411; // Kíváncsiak vagyunk a 411-es autó nevére, de mi ezt nem tudjuk... Szörnyû!//Írjuk ki, hogy a 411-es autó neve mi. Ugye milyen hasznos?$ertek = $vehicle - 400; // Ahogy fennt írtam, kivonunk 400-at. Hát nem mesés?echo $vehicles[$ertek]; // Kiírjuk a nevet. Egyszerûen csodálatos.?>
Infernus[/quote]
function getVehicleName($id){$id = $id-400;return $vehicles[$id];{