error 018: initialization data exceeds declared size
#1

modules/Server/Utils.pwn( 368 ) : error 018: initialization data exceeds declared size
modules/Server/Scramble.pwn(35) : error 018: initialization data exceeds declared size
Lines of utils
PHP код:
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",
}; 
lines of scramble
PHP код:
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"        ,
}; 
Reply
#2

Код:
!"Utility Trailer",
Код:
!"zemlja"        ,
putting , is useless in the last value. so just remove it and it will run fine.

PHP код:
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"
}; 

PHP код:
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"
}; 
Reply
#3

Quote:
Originally Posted by jlalt
Посмотреть сообщение
Код:
!"Utility Trailer",
Код:
!"zemlja"        ,
putting , is useless in the last value. so just remove it and it will run fine.

PHP код:
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"
}; 

PHP код:
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"
}; 
Ok i did it but now errors appeared on the same lines

PHP код:
modules/Server/Utils.pwn(368) : error 037invalid string (possibly non-terminated string)
modules/Server/Scramble.pwn(35) :  error 037invalid string (possibly non-terminated string
Reply
#4

Remove "!" and "char"

PHP код:
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"
}; 
Reply
#5

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 Код:
{!"Landstalker"},
{!"Bravura"},
...
or even better, update to latest which your arrays are just fine. In case you do not use that compiler patch, post more details?
Reply
#6

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
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 Код:
{!"Landstalker"},
{!"Bravura"},
...
or even better, update to latest which your arrays are just fine. In case you do not use that compiler patch, post more details?
yes basically im using that Zeex's compiler patch because my script is too big and when im compiling it there is a window "Not Respoding" popping up, so literally i downloaded that patch because of that..
Reply
#7

Quote:
Originally Posted by Paulice
Посмотреть сообщение
Remove "!" and "char"

PHP код:
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"
}; 
solved
Reply
#8

also i got one problem too and if u guys can help me, i'll be very thankful <3

PHP код:
modules/Systems/LSPD/MDC.pwn(318 ) : error 001expected token";"but found "-identifier-" 
PHP код:
stock static GetVehicleMDCInfo(playeridvehicleid)
{
    new
        
mdcString2056 ],
        
tmpString32 ];
    
    
formatmdcStringsizeof(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$",
        
VehicleInfovehicleid ][ vOwner ],
        
VehicleInfovehicleid ][ vNumberPlate ],
        
VehicleInfovehicleid ][ vColor1 ],
        
VehicleInfovehicleid ][ vColor2 ],
        
VehicleInfovehicleid ][ vPaintJob ],
        
VehicleInfovehicleid ][ vInsurance ],
        
VehicleInfovehicleid ][ vDestroys ],
        
GetEngineTypeString(VehicleInfo[vehicleid][vEngineType]),
        
GetBatteryTypeString(VehicleInfo[vehicleid][vBatteryType]),
        
GetBatteryLifeStringTD(vehicleid),
        
GetEngineLifeStringTD(vehicleid),
        
VehicleInfovehicleid ][ vAlarm ],
        
VehicleInfovehicleid ][ vImmob ],
        
VehicleInfovehicleid ][ vLock ],
        
VehicleInfovehicleid ][ vAudio ],
        
VehicleInfovehicleid ][ vHydraulics ],
        
VehicleInfovehicleid ][ vSpoiler ],
        
VehicleInfovehicleid ][ vNitro ],
        
VehicleInfovehicleid ][ vWheels ],
        
VehicleInfovehicleid ][ vTicketsR1 ],
        
VehicleInfovehicleid ][ vTickets ][ ],
        
VehicleInfovehicleid ][ vTicketsR2 ],
        
VehicleInfovehicleid ][ vTickets ][ ],
        
VehicleInfovehicleid ][ vTicketsR3 ],
        
VehicleInfovehicleid ][ vTickets ][ ],
        
VehicleInfovehicleid ][ vTicketsR4 ],
        
VehicleInfovehicleid ][ vTickets ][ ],
        
VehicleInfovehicleid ][ vTicketsR5 ],
        
VehicleInfovehicleid ][ vTickets ][ ]
    );
    
SelectTextDraw(playerid0xFFFFFFFFF);
    
CreateMDCTextDraws(playeridGetVehicleModel(vehicleid));
    
    
PlayerTextDrawSetPreviewRot(playeridMDCSkin[playerid], -15.00.00.0);
    
PlayerTextDrawSetPreviewVehCol(playeridMDCSkin[playerid], VehicleInfovehicleid ][ vColor1 ], VehicleInfovehicleid ][ vColor2 ]);
    
    
PlayerTextDrawSetString(playeridMDCText[playerid], mdcString);
    
    
strunpack(tmpStringModel_Name(GetVehicleModel(vehicleid)) );
    
format(tmpString32"%s-MDC"
        
tmpString
    
);
    
PlayerTextDrawSetString(playeridMDCTitle[playerid], tmpString);
    
    
format(tmpString32VehicleInfovehicleid ][ vImpounded ] ? "~r~Impounded" " ");
    
PlayerTextDrawSetString(playeridMDCSkinid[playerid], tmpString);
    return 
1;

line 318

PHP код:
format(tmpString32VehicleInfovehicleid ][ vImpounded ] ? "~r~Impounded" " "); 
Reply
#9

if you are using ?: operator text must be in ( )
Reply
#10

PHP код:
((VehicleInfovehicleid ][ vImpounded ]) ? ("~r~Impounded") : (" ")) 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)