26.06.2018, 11:42
Quote:
You're missusing the {FFFFFF} that's the first thing, you should add it like this
PHP код:
|
Quote:
This work, i'm just aligning and fixing the spaces & padding
Код:
new vehicles[2240]; strcat(vehicles, "{FFFFFF}Admiral\n{FFFFFF}Alpha\n{FFFFFF}Ambulance\n{FFFFFF}Baggage\n{FFFFFF}Bandito\n{FFFFFF}Banshee\n{FFFFFF}Barracks\n{FFFFFF}Beagle\n{FFFFFF}Benson\n{FFFFFF}BF-400"); strcat(vehicles, "\n{FFFFFF}BF Injection\n{FFFFFF}Bike\n{FFFFFF}Blade\n{FFFFFF}Blista Compact\n{FFFFFF}Bloodring Banger\n{FFFFFF}BMX\n{FFFFFF}Bobcat\n{FFFFFF}Boxville\n{FFFFFF}Bravura"); strcat(vehicles, "\n{FFFFFF}Broadway\n{FFFFFF}Buccaneer\n{FFFFFF}Buffalo\n{FFFFFF}Bullet\n{FFFFFF}Burrito\n{FFFFFF}Bus\n{FFFFFF}Cabbie\n{FFFFFF}Caddy\n{FFFFFF}Cadrona\n{FFFFFF}Camper"); strcat(vehicles, "\n{FFFFFF}Cargobob\n{FFFFFF}Cement Truck\n{FFFFFF}Cheetah\n{FFFFFF}Clover\n{FFFFFF}Club\n{FFFFFF}Coach\n{FFFFFF}Coastguard\n{FFFFFF}Combine Harvester\n{FFFFFF}Comet"); strcat(vehicles, "\n{FFFFFF}Cropduster\n{FFFFFF}DFT-30\n{FFFFFF}Dinghy\n{FFFFFF}Dodo\n{FFFFFF}Dozer\n{FFFFFF}Dumper\n{FFFFFF}Dune\n{FFFFFF}Elegant\n{FFFFFF}Elegy\n{FFFFFF}Emperor"); strcat(vehicles, "\n{FFFFFF}Enforcer\n{FFFFFF}Esperanto\n{FFFFFF}Euros\n{FFFFFF}Faggio\n{FFFFFF}FBI Rancher\n{FFFFFF}FBI Truck\n{FFFFFF}FCR-900\n{FFFFFF}Feltzer\n{FFFFFF}Firetruck"); strcat(vehicles, "\n{FFFFFF}Flash\n{FFFFFF}Flatbed\n{FFFFFF}Forklift\n{FFFFFF}Fortune\n{FFFFFF}Freeway\n{FFFFFF}Glendale\n{FFFFFF}Greenwood\n{FFFFFF}Hermes\n{FFFFFF}Hotdog"); strcat(vehicles, "\n{FFFFFF}Hotknife\n{FFFFFF}Hotring Racer\n{FFFFFF}Hotring Racer A\n{FFFFFF}Hotring Racer B\n{FFFFFF}HPV-1000\n{FFFFFF}Hunter\n{FFFFFF}Huntley\n{FFFFFF}Hustler"); strcat(vehicles, "\n{FFFFFF}Hydra\n{FFFFFF}Infernus\n{FFFFFF}Intruder\n{FFFFFF}Jester\n{FFFFFF}Jetmax\n{FFFFFF}Journey\n{FFFFFF}Kart\n{FFFFFF}Landstalker\n{FFFFFF}Launch"); strcat(vehicles, "\n{FFFFFF}Leviathan\n{FFFFFF}Linerunner\n{FFFFFF}Majestic\n{FFFFFF}Manana\n{FFFFFF}Marquis\n{FFFFFF}Maverick\n{FFFFFF}Merit\n{FFFFFF}Mesa\n{FFFFFF}Monster"); strcat(vehicles, "\n{FFFFFF}Monster A\n{FFFFFF}Monster B\n{FFFFFF}Moonbeam\n{FFFFFF}Mower\n{FFFFFF}Mr. Whoopee\n{FFFFFF}Mule\n{FFFFFF}Nebula\n{FFFFFF}Nevada\n{FFFFFF}Newsvan"); strcat(vehicles, "\n{FFFFFF}NRG-500\n{FFFFFF}Oceanic\n{FFFFFF}Packer\n{FFFFFF}Patriot\n{FFFFFF}PCJ-600\n{FFFFFF}Perennial\n{FFFFFF}Phoenix\n{FFFFFF}Picador\n{FFFFFF}Pizzaboy"); strcat(vehicles, "\n{FFFFFF}Police Car (LSPD)\n{FFFFFF}Police Car (LVPD)\n{FFFFFF}Police Car (SFPD)\n{FFFFFF}Police Maverick\n{FFFFFF}Police Ranger\n{FFFFFF}Pony\n{FFFFFF}Perdator"); strcat(vehicles, "\n{FFFFFF}Premier\n{FFFFFF}Previon\n{FFFFFF}Primo\n{FFFFFF}Quadbike\n{FFFFFF}Raindance\n{FFFFFF}Rancher\n{FFFFFF}Reefer\n{FFFFFF}Regina"); ShowPlayerDialog(playerid, DIALOG_SHOPVEHICLES, DIALOG_STYLE_LIST, "{FFFFFF}Game Shop", vehicles, "Select", "Close"); |
I recompiled my text and this is my pawno compiler output:
PHP код:
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 3484 bytes
Code size: 94008 bytes
Data size: 293408 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 407284 bytes