27.07.2018, 08:18
I'm using this include: https://sampforum.blast.hk/showthread.php?tid=570213
But i have a problem.
Please Help
But i have a problem.
Код:
enum BuyableVehiclesData { VehicleName[50], VehicleModel, VehiclePrice } new BuyableVehicles[][BuyableVehiclesData] = { {"Landstalker",400 ,200000}, {"Bravura",401 ,200000}, {"Buffalo",402 ,200000}, {"Perrenial",404 ,200000}, {"Sentinel",405 ,200000}, {"Dumper",406,200000}, {"Stretch",409 ,200000}, {"Manana",410 ,200000}, {"Infernus",411 ,200000}, {"Voodoo",412 ,200000}, {"Pony",413 ,200000}, {"Cheetah",415 ,200000}, {"Leviathan",417 ,200000}, {"Moonbeam",418 ,200000}, {"Esperanto",419 ,200000}, {"Taxi",420 ,200000}, {"Washington",421 ,200000}, {"Bobcat",422 ,200000}, {"Mr Whoopee",423 ,200000}, {"BF Injection",424 ,200000}, {"Premier",426 ,200000}, {"Banshee",429 ,200000}, {"Bus",431 ,200000}, {"Hotknife",434 ,200000}, {"Previon",436 ,200000}, {"Coach",437 ,200000}, {"Cabbie",438 ,200000}, {"Stallion",439 ,200000}, {"Rumpo",440 ,200000}, {"Romero",442 ,200000}, {"Packer",443 ,200000}, {"Monster",444 ,200000}, {"Admiral",445 ,200000}, {"Squalo",446 ,200000}, {"Pizzaboy",448 ,200000}, {"Turismo",451 ,200000}, {"Speeder",452 ,200000}, {"Reefer",453 ,200000}, {"Tropic",454 ,200000}, {"Solair",458 ,200000}, {"Berkley's RC Van",459 ,200000}, {"PCJ-600",461 ,200000}, {"Faggio",462 ,200000}, {"Freeway",463 ,200000}, {"Glendale",466 ,200000}, {"Oceanic",467 ,200000}, {"Sanchez",468 ,200000}, {"Quad",471 ,200000}, {"Dinghy",473 ,200000}, {"Hermes",474 ,200000}, {"Sabre",475 ,200000}, {"ZR-350",477 ,200000}, {"Walton",478 ,200000}, {"Regina",479 ,200000}, {"Comet",480 ,200000}, {"BMX",481 ,200000}, {"Burrito",482 ,200000}, {"Marquis",484 ,200000}, {"Maverick",487 ,200000}, {"News Chopper",488 ,200000}, {"Rancher",489 ,200000}, {"Virgo",491 ,200000}, {"Greenwood",492 ,200000}, {"Jetmax",493 ,200000}, {"Hotring",494 ,200000}, {"Sandking",495 ,200000}, {"Blista Compact",496 ,200000}, {"Mesa",500 ,200000}, {"Hotring Racer A",502 ,200000}, {"Hotring Racer B",503 ,200000}, {"Bloodring Banger",504 ,200000}, {"Rancher",505 ,200000}, {"Super GT",506 ,200000}, {"Elegant",507 ,200000}, {"Journey",508 ,200000}, {"Bike",509 ,200000}, {"Mountain Bike",510 ,200000}, {"Beagle",511 ,200000}, {"Cropdust",512 ,200000}, {"Stunt",513 ,200000}, {"Nebula",516 ,200000}, {"Majestic",517 ,200000}, {"Buccaneer",518 ,200000}, {"Shamal",519 ,200000}, {"FCR-900",521 ,200000}, {"NRG-500",522 ,200000}, {"Fortune",526 ,200000}, {"Cadrona",527 ,200000}, {"Willard",529 ,200000}, {"Tractor",531 ,200000}, {"Feltzer",533 ,200000}, {"Remington",534 ,200000}, {"Slamvan",535 ,200000}, {"Blade",536 ,200000}, {"Vincent",540 ,200000}, {"Bullet",541 ,200000}, {"Clover",542 ,200000}, {"Sadler",543 ,200000}, {"Hustler",545 ,200000}, {"Intruder",546 ,200000}, {"Primo",547 ,200000}, {"Cargobob",548 ,200000}, {"Tampa",549 ,200000}, {"Sunrise",550 ,200000}, {"Merit",551 ,200000}, {"Nevada",553 ,200000}, {"Yosemite",554 ,200000}, {"Windsor",555 ,200000}, {"Monster A",556 ,200000}, {"Monster B",557 ,200000}, {"Uranus",558 ,200000}, {"Jester",559 ,200000}, {"Sultan",560 ,200000}, {"Stratum",561 ,200000}, {"Elegy",562 ,200000}, {"Raindance",563 ,200000}, {"Flash",565 ,200000}, {"Tahoma",566 ,200000}, {"Savanna",567 ,200000}, {"Bandito",568 ,200000}, {"Kart",571 ,200000}, {"Mower",572 ,200000}, {"Duneride",573 ,200000}, {"Sweeper",574 ,200000}, {"Broadway",575 ,200000}, {"Tornado",576 ,200000}, {"DFT-30",578 ,200000}, {"Huntley",579 ,200000}, {"Stafford",580 ,200000}, {"BF-400",581 ,200000}, {"Newsvan",582 ,200000}, {"Emperor",585 ,200000}, {"Wayfarer",586 ,200000}, {"Euros",587 ,200000}, {"Hotdog",588 ,200000}, {"Club",589 ,200000}, {"Dodo",593 ,200000}, {"Picador",600 ,200000}, {"Alpha",602 ,200000}, {"Phoenix",603 ,200000}, {"Boxville",609 ,200000} };
Код:
CMD:buyvehicle(playerid,params[]) { ShowPreviewModelDialog(playerid,0,"Buy Car",BuyableVehicles[][VehicleModel],BuyableVehicles[][VehicleName],"Select","Cancel"); //(13730) return 1; }
Код:
(13730) : error 029: invalid expression, assumed zero