Szerző Téma: ERROR a kocsi neve lekérésekor  (Megtekintve 730 alkalommal)

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
ERROR a kocsi neve lekérésekor
« Dátum: 2011. október 01. - 19:50:19 »
0 Show voters
hello haverom kért 1 helpet hogy valamiért errorozik a script nevesen pedig :~BlackStyler~
script:
[pawn]#include <a_samp>
#define FILTERSCRIPT
//Színek
#define COLOR_BLUE                0x0000FFAA
#define COLOR_GREY                0xAFAFAFAA
#define COLOR_GREEN               0x33AA33AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WITHE               0xFFFFFFAA
#define COLOR_PURPLE              0x9900FFAA
#define COLOR_BROWN               0x993300AA
#define COLOR_CYAN                0x99FFFFAA
#define COLOR_TAN                 0xFFFFCCAA
#define COLOR_PINK                0xFF66FFAA
#define COLOR_KHAKI               0x999900AA
#define COLOR_LIME                0x99FF00AA
#define COLOR_BLACK               0x000000AA
#define COLOR_TURQ                0x00A3C0AA
#define COLOR_GREENISHGOLD        0xCCFFDD56
#define COLOR_LIGHTBLUEGREEN      0x0FFDD349
#define COLOR_NEUTRALBLUE         0xABCDEF01
#define COLOR_LIGHTCYAN           0xAAFFCC33
#define COLOR_LEMON               0xDDDD2357
#define COLOR_AQUA                0x7CFC00AA
#define COLOR_WHITEYELLOW         0xFFE87DAA
#define COLOR_BLUEAQUA            0x7E60FFAA
#define COLOR_GREENYELLOWWHITE    0xCBFF45AA
#define COLOR_DARKBLUE            0x15005EAA
#define COLOR_ULTRARED            0xFF0606FF
#define COLOR_WARNING             0xFB0000FF
#define COLOR_VIOLET              0x8F698FFF
#define COLOR_LIGHTBLUE 0x33CCFFAA
new GetVehicleModel[212][] = {
    {\"Jeep Cheorokee\"},//Landstalker
    {\"Mercury Cougar\"},//Bravura
    {\"Camaro Iroc\"},//Buffalo
    {\"Freightliner\"},//Linerunner
    {\"Chevy Nova Wagon\"},//Perrenial
    {\"BMW 525i\"},//Sentinel
    {\"D¨mper\"},//Dumper
    {\"T«zolt¦\"},//Firetruck
    {\"Kuk˜s kocsi\"},//Trashmaster
    {\"Lincoln Town Car\"},//Stretch
    {\"Dodge Aires Coupe\"},//Manana
    {\"Acura NSX\"},//Infernus
    {\"Chevy Impala\"},//Voodoo
    {\"Ford Aerostar\"},//Pony
    {\"Ford Box Van\"},//Mule
    {\"Ferrari Tessarosta\"},//Cheetah
    {\"Ford 350 Ambulance\"},//Ambulance
    {\"Sikorsky H-3 Sea King\"},//Leviathan
    {\"Chevy Astrovan\"},//Moonbeam
    {\"Cadillac Eldorado\"},//Esperanto
    {\"Chevy Caprice Classic\"},//Taxi
    {\"Lincoln Mark V\"},//Washington
    {\"Ford Ranger\"},//Bobcat
    {\"GMC Van\"},//Mr Whoopee
    {\"Volkswagen Dune Buggy\"},//BF Injection
    {\"AH-64 Apache\"},//Hunter
    {\"Chevy Caprice Classic\"},//Premier
    {\"International SWAT Van\"},//Enforcer
    {\"GMC TopKick\"},//Securicar
    {\"Dodge Viper\"},//Banshee
    {\"Predator\"},
    {\"Busz\"},
    {\"M1A1 Abrams\"},//Rhino
    {\"M939 5 ton\"},//Barracks
    {\"Hotknife\"},
    {\"Trailer 1\"},
    {\"Honda Prelude\"},//Previon
    {\"Coach\"},
    {\"Chevy Bell Air\"},//Cabbie
    {\"Oldsmobile Cutlass\"},//Stallion
    {\"Mercedes Van\"},//Rumpo
    {\"RC Bandit\"},
    {\"Cadillac Victorian Hearse\"},//Romero
    {\"Peterbilt 379\"},//Packer
    {\"Ford F-150 Monster Truck\"},//Monster
    {\"Mercedes Benz W123\"},//Admiral
    {\"Squalo\"},
    {\"Bell 47G Sea\"},//Seasparrow
    {\"Pizza Vespa Piaggio\"},//Pizzaboy
    {\"Villamos\"},//Tram
    {\"Trailer 2\"},
    {\"Ferrari F40\"},//Turismo
    {\"Speeder\"},
    {\"Reefer\"},
    {\"Tropic\"},
    {\"Ford D\"},//Flatbed
    {\"Ford F-650\"},//Yankee
    {\"Caddy\"},
    {\"Ford Taurus Wagon\"},//Solair
    {\"Ford Econline\"},//Berkley\'s RC Van
    {\"Cessna 150G\"},//Skimmer
    {\"Honda CBR 600\"},//PCJ-600
    {\"Vespa Piaggio\"},//Faggio
    {\"Harley Davidson Fatboy\"},//Freeway
    {\"RC Baron\"},
    {\"RC Raider\"},
    {\"Chevy Del Ray\"},//Glendale
    {\"Chevy Bel Air\"},//Oceanic
    {\"Honda CR125\"},//Sanchez
    {\"Bell 47G\"},//Sparrow
    {\"Hummer H1\"},//Patriot
    {\"Honda TRX250X\"},//Quad
    {\"Coastguard\"},
    {\"Dinghy\"},
    {\"Mercury\"},//Hermes
    {\"Chevy Chevelle\"},//Sabre
    {\"Spitfire\"},//Rustler
    {\"Mazda Rx7\"},//ZR-350
    {\"Chevy Pickup\"},//Walton
    {\"Ford LTD Wagon\"},//Regina
    {\"Porsche 911\"},//Comet
    {\"BMX\"},
    {\"Dodge Ram Van\"},//Burrito
    {\"Volkswagen Bus\"},//Camper
    {\"Marquis\"},
    {\"Baggage\"},
    {\"D¦zer\"},//Dozer
    {\"Bell 206B JetRanger II\"},//Maverick
    {\"News Bell 206B\"},//News Chopper
    {\"Ford Branco\"},//Rancher
    {\"Chevrolet K5 Blazer\"},//FBI Rancher
    {\"Ford Thunderbird\"},//Virgo
    {\"Chrysler 5th Avenue\"},//Greenwood
    {\"Jetmax\"},
    {\"Hotring\"},
    {\"Sandking\"},
    {\"Honda CRX\"},//Blista Compact
    {\"Police Bell 206B JetRanger II\"},//Police Maverick
    {\"GMC Bread Van\"},//Boxville
    {\"Ford Box\"},//Benson
    {\"Jeep Wrangler\"},//Mesa
    {\"RC Goblin\"},
    {\"Hotring Racer A\"},
    {\"Hotring Racer B\"},
    {\"Dodge Dart\"},//Bloodring Banger
    {\"Chevrolet K5 Blazer\"},//Rancher
    {\"Mitsubishi 3000GT\"},//Super GT
    {\"Buick Roadmaster\"},//Elegant
    {\"Chevy Camper\"},//Journey
    {\"Bike\"},
    {\"Mountain Bike\"},//Mountain Bike
    {\"Britten Norman Islander\"},//Beagle
    {\"Cropdust\"},
    {\"Stunt\"},
    {\"Ford L9000\"},//Petro
    {\"Mack Truck\"},//Roadtrain
    {\"Buick Century\"},//Nebula
    {\"Buick Regal\"},//Majestic
    {\"Chevy Monte Carlo\"},//Buccaneer
    {\"Bombardier Learjet\"},//Shamal
    {\"Harrier\"},//Hydra
    {\"Honda CBR 900\"},//FCR-900
    {\"Ducati 916\"},//NRG-500
    {\"Kawasaki KZ1000-P21\"},//HPV1000
    {\"Cement Truck\"},//Cement Truck
    {\"Chevrolet C-30\"},//Tow Truck
    {\"Ford Thunderbird\"},//Fortune
    {\"Chevy Cavalier\"},//Cadrona
    {\"P˜nc¾lozott Chevrolet K5 Blazer\"},//FBI Truck
    {\"Dodge Dynasty\"},//Willard
    {\"Targonca\"},//Forklift
    {\"Traktor\"},//Tractor
    {\"Komb˜jn\"},//Combine
    {\"Mercedes SL Convertible\"},//Feltzer
    {\"Lincoln Mark VII\"},//Remington
    {\"Chevy 1500 Pickup\"},//Slamvan
    {\"Chevy Caprice\"},//Blade
    {\"EMD SD40-2\"},//Freight
    {\"EMD F40PH\"},//Streak
    {\"L¾gp˜rn˜s\"},//Vortex
    {\"BMW 325i\"},//Vincent
    {\"Ford GT40\"},//Bullet
    {\"Buick Skylark\"},//Clover
    {\"Ford 150\"},//Sadler
    {\"Firetruck LA\"},//Firela
    {\"Ford Coupe\"},//Hustler
    {\"Chevy Lumina\"},//Intruder
    {\"Oldsmobile Cutlass Cierra\"},//Primo
    {\"Sikorsky CH-53\"},//Cargobob
    {\"Chevy Corvair\"},//Tampa
    {\"Honda Accord Sedan\"},//Sunrise
    {\"Mercury Grand Marquise\"},//Merit
    {\"Chevrolet C-30\"},//Utility
    {\"DC-3\"},//Nevada
    {\"Chevy Pickup\"},//Yosemite
    {\"Jaguar E-Type\"},//Windsor
    {\"Chevrolet S-10 Monster A\"},//Monstera
    {\"Chevrolet S-10 Monster B\"},//Monsterb
    {\"Mitsubishi Eclipse\"},//Uranus
    {\"Toyota Supra\"},//Jester
    {\"Subaru Impreza\"},//Sultan
    {\"Honda Accord\"},//Stratum
    {\"Nissan Skyline\"},//Elegy
    {\"Black Hawk Rescue Helicopter\"},//Raindance
    {\"RC Tiger\"},
    {\"Honda Civic\"},//Flash
    {\"Chevy Monte Carlo\"},//Tahoma
    {\"Chevy Impala Sedan\"},//Savanna
    {\"Bandito\"},
    {\"Freight Flat\"},
    {\"Streak Carriage\"},
    {\"Gok˜rt\"},//Kart
    {\"F«ny¢r¦ Traktor\"},//Mower
    {\"Duneride\"},
    {\"“ttiszt¢t¦\"},//Sweeper
    {\"Cadillac Coupe\"},//Broadway
    {\"Buick Century\"},//Tornado
    {\"Boeing 737-800\"},//AT-400
    {\"Ford Cabover\"},//DFT-30
    {\"Land Rover\"},//Huntley
    {\"Rolls Royce Shadow\"},//Stafford
    {\"Ducati 450 Desmo\"},//BF-400
    {\"Dodge Ram Van\"},//Newsvan
    {\"Tug\"},
    {\"Trailer 3\"},
    {\"Infinity J30\"},//Emperor
    {\"Honda Goldwing\"},//Wayfarer
    {\"Nissan 300x\"},//Euros
    {\"Hotdog Volkswagen Bus\"},//Hotdog
    {\"Volkswagen Golf\"},//Club
    {\"Freight Carriage\"},
    {\"Trailer 3\"},
    {\"C5 Galaxie\"},//Andromada
    {\"Cessna 150\"},//Dodo
    {\"RC Cam\"},
    {\"Launch\"},
    {\"Chevrolet Caprice (LSPD)\"},//Police Car (LSPD)
    {\"Chevrolet Caprice (SFPD)\"},//Police Car (SFPD)
    {\"Dodge Diplomat (LVPD)\"},//Police Car (LVPD)
    {\"Chevrolet K5 Blazer Police\"},//Police Ranger
    {\"Chevy El Camino\"},//Picador
    {\"S.W.A.T. Van\"},
    {\"Mitsubishi 300GT\"},//Alpha
    {\"Pontiac Trans Am\"},//Phoenix
    {\"Buick Special\"},//Glendale
    {\"Ford F-100\"},//Sadler
    {\"Luggage Trailer A\"},//Bagboxa
    {\"Luggage Trailer B\"},//Bagboxb
    {\"Stair Trailer\"},
    {\"Boxville\"},
    {\"Farm Plow\"},
    {\"Utility Trailer\"}
};
public OnFilterScriptInit()
{
    print(\"\\n--------------------------------------\");
    print(\" BlackStyler Szkript Betöltve!\");
    print(\"--------------------------------------\\n\");
    return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
   new GetVehicleModel[MAX_PLAYER_NAME], string[256];
   GetVehicleModel(vehicleid,GetVehicleModel,sizeof(GetVehicleModel));
   format(string,sizeof(string),\"%s \",GetVehicleModel);
   SendClientMessage(playerid,COLOR_GREEN,string);
   return 1;
}[/pawn]
errorok:
 
C:\\Documents and Settings\\Penge\\Dokumentumok\\My Received Files\\Kocsi.pwn(34) : error 021: symbol already defined: \"GetVehicleModel\"
C:\\Documents and Settings\\Penge\\Dokumentumok\\My Received Files\\Kocsi.pwn(259) : warning 219: local variable \"GetVehicleModel\" shadows a variable at a preceding level
C:\\Documents and Settings\\Penge\\Dokumentumok\\My Received Files\\Kocsi.pwn(260) : error 012: invalid function call, not a valid address
C:\\Documents and Settings\\Penge\\Dokumentumok\\My Received Files\\Kocsi.pwn(260) : warning 215: expression has no effect
C:\\Documents and Settings\\Penge\\Dokumentumok\\My Received Files\\Kocsi.pwn(260) : warning 215: expression has no effect
C:\\Documents and Settings\\Penge\\Dokumentumok\\My Received Files\\Kocsi.pwn(260) : warning 215: expression has no effect
C:\\Documents and Settings\\Penge\\Dokumentumok\\My Received Files\\Kocsi.pwn(260) : error 001: expected token: \";\", but found \")\"
C:\\Documents and Settings\\Penge\\Dokumentumok\\My Received Files\\Kocsi.pwn(260) : error 029: invalid expression, assumed zero
C:\\Documents and Settings\\Penge\\Dokumentumok\\My Received Files\\Kocsi.pwn(260) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase
 
5 Errors.

ERROR a kocsi neve lekérésekor
« Válasz #1 Dátum: 2011. október 01. - 20:00:07 »
0 Show voters
Hát ha ezt BlackStyler irta, akkor én szaltózok egyet a garázstetõrõl.
semmi, nem tudok olvasni.
Azt a GetVehicleModel változót írd át más nevûre. (ott is ahol használod)

ERROR a kocsi neve lekérésekor
« Válasz #2 Dátum: 2011. október 01. - 20:21:36 »
0 Show voters
Instant zárd a támát mert már megvan :)

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal