Quote:
Originally Posted by Zeth
No need of using 9000 as as strlen is only 1080 after removing {FFFFFF} which was useless as its white by default.
PHP код:
static vehicles[1080];
strcat(vehicles, "Admiral\nAlpha\nAmbulance\nBaggage\nBandito\nBanshee\nBarracks\nBeagle\nBenson\nBF-400");
strcat(vehicles, "\nBF Injection\nBike\nBlade\nBlista Compact\nBloodring Banger\nBMX\nBobcat\nBoxville\nBravura");
strcat(vehicles, "\nBroadway\nBuccaneer\nBuffalo\nBullet\nBurrito\nBus\nCabbie\nCaddy\nCadrona\nCamper");
strcat(vehicles, "\nCargobob\nCement Truck\nCheetah\nClover\nClub\nCoach\nCoastguard\nCombine Harvester\nComet");
strcat(vehicles, "\nCropduster\nDFT-30\nDinghy\nDodo\nDozer\nDumper\nDune\nElegant\nElegy\nEmperor");
strcat(vehicles, "\nEnforcer\nEsperanto\nEuros\nFaggio\nFBI Rancher\nFBI Truck\nFCR-900\nFeltzer\nFiretruck");
strcat(vehicles, "\nFlash\nFlatbed\nForklift\nFortune\nFreeway\nGlendale\nGreenwood\nHermes\nHotdog");
strcat(vehicles, "\nHotknife\nHotring Racer\nHotring Racer A\nHotring Racer B\nHPV-1000\nHunter\nHuntley\nHustler");
strcat(vehicles, "\nHydra\nInfernus\nIntruder\nJester\nJetmax\nJourney\nKart\nLandstalker\nLaunch");
strcat(vehicles, "\nLeviathan\nLinerunner\nMajestic\nManana\nMarquis\nMaverick\nMerit\nMesa\nMonster");
strcat(vehicles, "\nMonster A\nMonster B\nMoonbeam\nMower\nMr. Whoopee\nMule\nNebula\nNevada\nNewsvan");
strcat(vehicles, "\nNRG-500\nOceanic\nPacker\nPatriot\nPCJ-600\nPerennial\nPhoenix\nPicador\nPizzaboy");
strcat(vehicles, "\nPolice Car (LSPD)\nPolice Car (LVPD)\nPolice Car (SFPD)\nPolice Maverick\nPolice Ranger\nPony\nPerdator");
strcat(vehicles, "\nPremier\nPrevion\nPrimo\nQuadbike\nRaindance\nRancher\nReefer\nRegina");
ShowPlayerDialog(playerid, DIALOG_SHOPVEHICLES, DIALOG_STYLE_LIST, "Game Shop", vehicles, "Select", "Close");
|
Again as I said, the list isn’t even finished, and the {FFFFFF} is needed because i’m going to add the prices in another color next to each vehicle - as I said in my previous posts.-