new
gVehicleNames[212][32 char] =
{
!"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 2",
!"Turismo",
!"Speeder",
!"Reefer",
!"Tropic",
!"Flatbed",
!"Yankee",
!"Caddy",
!"Solair",
!"Topfun Van (Berkley's RC)",
!"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 3",
!"Andromada",
!"Dodo",
!"RC Cam",
!"Launch",
!"Police Car (LSPD)",
!"Police Car (SFPD)",
!"Police Car (LVPD)",
!"Police Ranger",
!"Picador",
!"S.W.A.T.",
!"Alpha",
!"Phoenix",
!"Glendale Shit",
!"Sadler Shit",
!"Baggage Trailer \"A\"",
!"Baggage Trailer \"B\"",
!"Tug Stairs Trailer",
!"Boxville",
!"Farm Trailer",
!"Utility Trailer",
};
new
ScrambleWordInfo[20][16 char] =
{
!"avijacija" ,
!"puska" ,
!"glazbalo" ,
!"prijestolje" ,
!"predsjednik" ,
!"parlament" ,
!"pneumatika" ,
!"govornik" ,
!"svecenik" ,
!"razgovori" ,
!"zrakoplovstvo",
!"hurmasice" ,
!"baklava" ,
!"snicla" ,
!"stomatolog" ,
!"vinjak" ,
!"buhtla" ,
!"podpresjednik",
!"ministrice" ,
!"zemlja" ,
};
!"Utility Trailer",
!"zemlja" ,
new
gVehicleNames[212][32 char] =
{
!"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 2",
!"Turismo",
!"Speeder",
!"Reefer",
!"Tropic",
!"Flatbed",
!"Yankee",
!"Caddy",
!"Solair",
!"Topfun Van (Berkley's RC)",
!"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 3",
!"Andromada",
!"Dodo",
!"RC Cam",
!"Launch",
!"Police Car (LSPD)",
!"Police Car (SFPD)",
!"Police Car (LVPD)",
!"Police Ranger",
!"Picador",
!"S.W.A.T.",
!"Alpha",
!"Phoenix",
!"Glendale Shit",
!"Sadler Shit",
!"Baggage Trailer \"A\"",
!"Baggage Trailer \"B\"",
!"Tug Stairs Trailer",
!"Boxville",
!"Farm Trailer",
!"Utility Trailer"
};
new
ScrambleWordInfo[20][16 char] =
{
!"avijacija" ,
!"puska" ,
!"glazbalo" ,
!"prijestolje" ,
!"predsjednik" ,
!"parlament" ,
!"pneumatika" ,
!"govornik" ,
!"svecenik" ,
!"razgovori" ,
!"zrakoplovstvo",
!"hurmasice" ,
!"baklava" ,
!"snicla" ,
!"stomatolog" ,
!"vinjak" ,
!"buhtla" ,
!"podpresjednik",
!"ministrice" ,
!"zemlja"
};
Код:
!"Utility Trailer", Код:
!"zemlja" , PHP код:
PHP код:
|
modules/Server/Utils.pwn(368) : error 037: invalid string (possibly non-terminated string)
modules/Server/Scramble.pwn(35) : error 037: invalid string (possibly non-terminated string)
new gVehicleNames[][29] =
{
"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 2",
"Turismo",
"Speeder",
"Reefer",
"Tropic",
"Flatbed",
"Yankee",
"Caddy",
"Solair",
"Topfun Van (Berkley's RC)",
"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 3",
"Andromada",
"Dodo",
"RC Cam",
"Launch",
"Police Car (LSPD)",
"Police Car (SFPD)",
"Police Car (LVPD)",
"Police Ranger",
"Picador",
"S.W.A.T.",
"Alpha",
"Phoenix",
"Glendale Shit",
"Sadler Shit",
"Baggage Trailer \"A\"",
"Baggage Trailer \"B\"",
"Tug Stairs Trailer",
"Boxville",
"Farm Trailer",
"Utility Trailer"
};
new ScrambleWordInfo[][14] =
{
"avijacija",
"puska",
"glazbalo",
"prijestolje",
"predsjednik",
"parlament",
"pneumatika",
"govornik",
"svecenik",
"razgovori",
"zrakoplovstvo",
"hurmasice",
"baklava",
"snicla",
"stomatolog",
"vinjak",
"buhtla",
"podpresjednik",
"ministrice",
"zemlja"
};
{!"Landstalker"},
{!"Bravura"},
...
This error was given in an old version of Zeex's compiler patch and the way to fix it was by using brackets around:
pawn Код:
|
Remove "!" and "char"
PHP код:
|
modules/Systems/LSPD/MDC.pwn(318 ) : error 001: expected token: ";", but found "-identifier-"
stock static GetVehicleMDCInfo(playerid, vehicleid)
{
new
mdcString[ 2056 ],
tmpString[ 32 ];
format( mdcString, sizeof(mdcString),
"~y~OPCE INFORMACIJE~w~~n~~n~ Vlasnik: %s~n~ Registracija: %s~n~ Boje: %d %d~n~ Paintjob: %d~n~ Osiguranje: %d~n~ Puta unisten: %d~n~~n~~y~TEHNICKE INFORMACIJE~w~~n~~n~ Tip motora: %s~n~ Tip akumulatora: %s~n~ Stanje motora: %s~n~ Stanje akumulatora: %s~n~ Alarm: %d~n~ Immobilizator: %d~n~ Brava: %d~n~~n~~y~TUNING~w~~n~~n~ Stereo: %d~n~ Hidraulika: %d~n~ Spoiler: %d~n~ Nitro: %d~n~ Felge: %d~n~~n~~y~OPCE INFORMACIJE~w~~n~~n~ Kazna #1: %s - %d$~n~ Kazna #2: %s - %d$~n~ Kazna #3: %s - %d$~n~ Kazna #4: %s - %d$~n~ Kazna #5: %s - %d$",
VehicleInfo[ vehicleid ][ vOwner ],
VehicleInfo[ vehicleid ][ vNumberPlate ],
VehicleInfo[ vehicleid ][ vColor1 ],
VehicleInfo[ vehicleid ][ vColor2 ],
VehicleInfo[ vehicleid ][ vPaintJob ],
VehicleInfo[ vehicleid ][ vInsurance ],
VehicleInfo[ vehicleid ][ vDestroys ],
GetEngineTypeString(VehicleInfo[vehicleid][vEngineType]),
GetBatteryTypeString(VehicleInfo[vehicleid][vBatteryType]),
GetBatteryLifeStringTD(vehicleid),
GetEngineLifeStringTD(vehicleid),
VehicleInfo[ vehicleid ][ vAlarm ],
VehicleInfo[ vehicleid ][ vImmob ],
VehicleInfo[ vehicleid ][ vLock ],
VehicleInfo[ vehicleid ][ vAudio ],
VehicleInfo[ vehicleid ][ vHydraulics ],
VehicleInfo[ vehicleid ][ vSpoiler ],
VehicleInfo[ vehicleid ][ vNitro ],
VehicleInfo[ vehicleid ][ vWheels ],
VehicleInfo[ vehicleid ][ vTicketsR1 ],
VehicleInfo[ vehicleid ][ vTickets ][ 0 ],
VehicleInfo[ vehicleid ][ vTicketsR2 ],
VehicleInfo[ vehicleid ][ vTickets ][ 1 ],
VehicleInfo[ vehicleid ][ vTicketsR3 ],
VehicleInfo[ vehicleid ][ vTickets ][ 2 ],
VehicleInfo[ vehicleid ][ vTicketsR4 ],
VehicleInfo[ vehicleid ][ vTickets ][ 3 ],
VehicleInfo[ vehicleid ][ vTicketsR5 ],
VehicleInfo[ vehicleid ][ vTickets ][ 4 ]
);
SelectTextDraw(playerid, 0xFFFFFFFFF);
CreateMDCTextDraws(playerid, GetVehicleModel(vehicleid));
PlayerTextDrawSetPreviewRot(playerid, MDCSkin[playerid], -15.0, 0.0, 0.0);
PlayerTextDrawSetPreviewVehCol(playerid, MDCSkin[playerid], VehicleInfo[ vehicleid ][ vColor1 ], VehicleInfo[ vehicleid ][ vColor2 ]);
PlayerTextDrawSetString(playerid, MDCText[playerid], mdcString);
strunpack(tmpString, Model_Name(GetVehicleModel(vehicleid)) );
format(tmpString, 32, "%s-MDC",
tmpString
);
PlayerTextDrawSetString(playerid, MDCTitle[playerid], tmpString);
format(tmpString, 32, VehicleInfo[ vehicleid ][ vImpounded ] ? "~r~Impounded" : " ");
PlayerTextDrawSetString(playerid, MDCSkinid[playerid], tmpString);
return 1;
}
format(tmpString, 32, VehicleInfo[ vehicleid ][ vImpounded ] ? "~r~Impounded" : " ");
((VehicleInfo[ vehicleid ][ vImpounded ]) ? ("~r~Impounded") : (" "))