- 0
[закрыто] Ошибка в логах серверах sscanf error: System not initialised.
-
Последние посетители 0 пользователей онлайн
Ни одного зарегистрированного пользователя не просматривает данную страницу
-
Похожий контент
-
От patrickk
Всем привет, решил написать dm сервер и довольно хорошим получился, даже на голову выше Goat dm. Оставил не решенную проблему тем что у меня есть 4 локации с rp run и cj run ну а как добавить cj бег на те локации не знаю и как эта система работает. Надеюсь мне помогут знающие люди
-
От Samolet
Здраствуйте, cоздаю копию Arizona на ОМП, опен мультиплеер, загрузил и подключил бд, но сервер не хочет вот лог :[2026-10-20T21:03:32+0300] [Info] Log file reloaded. Starting open.mp server (1.5.8.3079) from commit c6759bd8d265171ae3d86598895a23d5a8d92a3b Loading component $CAPI.so Successfully loaded component C-API (1.5.8.3079) with UID 10467dd8d4c56fc6 Loading component LegacyConfig.so Successfully loaded component LegacyConfig (1.5.8.3079) with UID 24ef6216838f9ffc Loading component NPCs.so Successfully loaded component NPCs (1.5.8.3079) with UID 3d0e59e87f4e90bc Loading component Recordings.so Successfully loaded component Recordings (1.5.8.3079) with UID 871144d399f5f613 Loading component Checkpoints.so Successfully loaded component Checkpoints (1.5.8.3079) with UID 44a937350d611dde Loading component TextDraws.so Successfully loaded component TextDraws (1.5.8.3079) with UID 9b5dc2b1d15c992a Loading component Pawn.so Successfully loaded component Pawn (1.5.8.3079) with UID 78906cd9f19c36a6 Loading component GangZones.so Successfully loaded component GangZones (1.5.8.3079) with UID b3351d11ee8d8056 Loading component Actors.so Successfully loaded component Actors (1.5.8.3079) with UID c81ca021eae2ad5c Loading component Pickups.so Successfully loaded component Pickups (1.5.8.3079) with UID cf304faa363dd971 Loading component Dialogs.so Successfully loaded component Dialogs (1.5.8.3079) with UID 44a111350d611dde Loading component Objects.so Successfully loaded component Objects (1.5.8.3079) with UID 59f8415f72da6160 Loading component Console.so Successfully loaded component Console (1.5.8.3079) with UID bfa24e49d0c95ee4 Loading component TextLabels.so Successfully loaded component TextLabels (1.5.8.3079) with UID a0c57ea80a009742 Loading component Variables.so Successfully loaded component Variables (1.5.8.3079) with UID 75e121848bc01fa2 Loading component Databases.so Successfully loaded component Databases (1.5.8.3079) with UID 80092e7eb5821a96 Loading component LegacyNetwork.so Successfully loaded component RakNetLegacyNetwork (1.5.8.3079) with UID ea9799fd79cf8442 Loading component CustomModels.so Successfully loaded component CustomModels (1.5.8.3079) with UID 15e3cb1e7c77ffff Loading component Menus.so Successfully loaded component Menus (1.5.8.3079) with UID 621e219eb97ee0b2 Loading component Vehicles.so Successfully loaded component Vehicles (1.5.8.3079) with UID 3f1f62ee9e22ab19 Loading component Classes.so Successfully loaded component Classes (1.5.8.3079) with UID 8cfb3183976da208 Loading component Timers.so Successfully loaded component Timers (1.5.8.3079) with UID 2ad8124c5ea257a3 Loaded 22 component(s) from /home/gs113492/components Executing Server Config... [2026-10-20T21:03:33+0300] [Info] Loading plugin: crashdetect.so [2026-10-20T21:03:33+0300] [Info] CrashDetect plugin 4.19 [2026-10-20T21:03:33+0300] [Info] Loading plugin: mapandreas.so [2026-10-20T21:03:33+0300] [Info] Loading plugin: streamer.so [2026-10-20T21:03:33+0300] [Info] *** Streamer Plugin v2.9.4 by Incognito loaded *** [2026-10-20T21:03:33+0300] [Info] Loading plugin: sscanf.so [2026-10-20T21:03:33+0300] [Info] [2026-10-20T21:03:33+0300] [Info] =============================== [2026-10-20T21:03:33+0300] [Info] sscanf plugin loaded. [2026-10-20T21:03:33+0300] [Info] Version: 2.8.3 [2026-10-20T21:03:33+0300] [Info] (c) 2018 Alex "Y_Less" Cole [2026-10-20T21:03:33+0300] [Info] =============================== [2026-10-20T21:03:33+0300] [Info] Loading plugin: TOTP.so [2026-10-20T21:03:33+0300] [Info] TOTP plugin v1.0.1 by Games loaded. [2026-10-20T21:03:33+0300] [Info] Loading plugin: mysql_static.so [2026-10-20T21:03:33+0300] [Info] >> plugin.mysql: R39-6 successfully loaded. [2026-10-20T21:03:33+0300] [Info] Loading plugin: libpawn_json.so [2026-10-20T21:03:34+0300] [Error] Function not registered: YSF_SetTickRate [2026-10-20T21:03:34+0300] [Error] Function not registered: PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] Run time error 19: "File or function is not found" [2026-10-20T21:03:34+0300] [Info] [debug] PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] YSF_SetTickRate [2026-10-20T21:03:34+0300] [Error] File or function is not found [2026-10-20T21:03:34+0300] [Error] Function not registered: PC_RegAlias [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_GetWriteOffset [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_Reset [2026-10-20T21:03:34+0300] [Error] Function not registered: PR_RegHandler [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_Delete [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_New [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_ResetReadPointer [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_SetWriteOffset [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_IgnoreBits [2026-10-20T21:03:34+0300] [Error] Function not registered: PR_Init [2026-10-20T21:03:34+0300] [Error] Function not registered: PR_SendRPC [2026-10-20T21:03:34+0300] [Error] Function not registered: PR_SendPacket [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_WriteValue [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_GetNumberOfBytesUsed [2026-10-20T21:03:34+0300] [Error] Function not registered: BS_ReadValue [2026-10-20T21:03:34+0300] [Error] Function not registered: PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] Run time error 19: "File or function is not found" [2026-10-20T21:03:34+0300] [Info] [debug] PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] BS_ReadValue [2026-10-20T21:03:34+0300] [Info] [debug] BS_GetNumberOfBytesUsed [2026-10-20T21:03:34+0300] [Info] [debug] BS_WriteValue [2026-10-20T21:03:34+0300] [Info] [debug] PR_SendPacket [2026-10-20T21:03:34+0300] [Info] [debug] PR_SendRPC [2026-10-20T21:03:34+0300] [Info] [debug] PR_Init [2026-10-20T21:03:34+0300] [Info] [debug] BS_IgnoreBits [2026-10-20T21:03:34+0300] [Info] [debug] BS_SetWriteOffset [2026-10-20T21:03:34+0300] [Info] [debug] BS_ResetReadPointer [2026-10-20T21:03:34+0300] [Info] [debug] BS_New [2026-10-20T21:03:34+0300] [Info] [debug] BS_Delete [2026-10-20T21:03:34+0300] [Info] [debug] PR_RegHandler [2026-10-20T21:03:34+0300] [Info] [debug] BS_Reset [2026-10-20T21:03:34+0300] [Info] [debug] BS_GetWriteOffset [2026-10-20T21:03:34+0300] [Info] [debug] PC_RegAlias [2026-10-20T21:03:34+0300] [Error] File or function is not found [2026-10-20T21:03:34+0300] [Info] [debug] Run time error 19: "File or function is not found" [2026-10-20T21:03:34+0300] [Info] [debug] PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] YSF_SetTickRate [2026-10-20T21:03:34+0300] [Error] File or function is not found [2026-10-20T21:03:34+0300] [Info] [debug] Run time error 19: "File or function is not found" [2026-10-20T21:03:34+0300] [Info] [debug] PC_Init [2026-10-20T21:03:34+0300] [Info] [debug] BS_ReadValue [2026-10-20T21:03:34+0300] [Info] [debug] BS_GetNumberOfBytesUsed [2026-10-20T21:03:34+0300] [Info] [debug] BS_WriteValue [2026-10-20T21:03:34+0300] [Info] [debug] PR_SendPacket [2026-10-20T21:03:34+0300] [Info] [debug] PR_SendRPC [2026-10-20T21:03:34+0300] [Info] [debug] PR_Init [2026-10-20T21:03:34+0300] [Info] [debug] BS_IgnoreBits [2026-10-20T21:03:34+0300] [Info] [debug] BS_SetWriteOffset [2026-10-20T21:03:34+0300] [Info] [debug] BS_ResetReadPointer [2026-10-20T21:03:34+0300] [Info] [debug] BS_New [2026-10-20T21:03:34+0300] [Info] [debug] BS_Delete [2026-10-20T21:03:34+0300] [Info] [debug] PR_RegHandler [2026-10-20T21:03:34+0300] [Info] [debug] BS_Reset [2026-10-20T21:03:34+0300] [Info] [debug] BS_GetWriteOffset [2026-10-20T21:03:34+0300] [Info] [debug] PC_RegAlias [2026-10-20T21:03:34+0300] [Info] Legacy Network started on ***.**.**.***:2717. Помогите пожалуйста
-
Вова Основатель CRP 75
Добрый вечер.
У меня ошибка в логах сервера на команде где используется DC_CMD + sscanf мод использую samp-rp
Что я делал уже с плагином:
1. Переустанавливал его
2. Менял на другою версию и исправлял ошибку
3. Менял название string на какое-то другое не помогает(не работает сама команда а ошибка так и осталась sscanf error: System not initialised.)
Осталось только две ошибки это warning 219: local variable "string" shadows a variable at a preceding level но её не где в плагине не используют
Ошибки на строчках:
1. SSCANF:weapon(string[])
2. SSCANF:vehicle(string[])
Помогите исправить а то я не могу продолжить разработку мода своего
SSCANF:weapon(string[]) { // This function is VERY basic, needs VASTLY improving to detect variations. if ('0' <= string[0] <= '9') { new ret = strval(string); if (0 <= ret <= 18 || 22 <= ret <= 46) { return ret; } } else if (!strcmp(string, "Unarmed", true)) return 0; else if (!strcmp(string, "Brass Knuckles", true)) return 1; else if (!strcmp(string, "Golf Club", true)) return 2; else if (!strcmp(string, "Night Stick", true)) return 3; else if (!strcmp(string, "Knife", true)) return 4; else if (!strcmp(string, "Baseball Bat", true)) return 5; else if (!strcmp(string, "Shovel", true)) return 6; else if (!strcmp(string, "Pool cue", true)) return 7; else if (!strcmp(string, "Katana", true)) return 8; else if (!strcmp(string, "Chainsaw", true)) return 9; else if (!strcmp(string, "Purple Dildo", true)) return 10; else if (!strcmp(string, "White Dildo", true)) return 11; else if (!strcmp(string, "Long White Dildo", true)) return 12; else if (!strcmp(string, "White Dildo 2", true)) return 13; else if (!strcmp(string, "Flowers", true)) return 14; else if (!strcmp(string, "Cane", true)) return 15; else if (!strcmp(string, "Grenades", true)) return 16; else if (!strcmp(string, "Tear Gas", true)) return 17; else if (!strcmp(string, "Molotovs", true)) return 18; else if (!strcmp(string, "Pistol", true)) return 22; else if (!strcmp(string, "Silenced Pistol", true)) return 23; else if (!strcmp(string, "Desert Eagle", true)) return 24; else if (!strcmp(string, "Shotgun", true)) return 25; else if (!strcmp(string, "Sawn Off Shotgun", true)) return 26; else if (!strcmp(string, "Combat Shotgun", true)) return 27; else if (!strcmp(string, "Micro Uzi", true)) return 28; else if (!strcmp(string, "Mac 10", true)) return 28; else if (!strcmp(string, "MP5", true)) return 29; else if (!strcmp(string, "AK47", true)) return 30; else if (!strcmp(string, "M4", true)) return 31; else if (!strcmp(string, "Tec9", true)) return 32; else if (!strcmp(string, "Rifle", true)) return 33; else if (!strcmp(string, "Sniper Rifle", true)) return 34; else if (!strcmp(string, "RPG", true)) return 35; else if (!strcmp(string, "Missile Launcher", true)) return 36; else if (!strcmp(string, "Flame Thrower", true)) return 37; else if (!strcmp(string, "Minigun", true)) return 38; else if (!strcmp(string, "Sachel Charges", true)) return 39; else if (!strcmp(string, "Detonator", true)) return 40; else if (!strcmp(string, "Spray Paint", true)) return 41; else if (!strcmp(string, "Fire Extinguisher", true)) return 42; else if (!strcmp(string, "Camera", true)) return 43; else if (!strcmp(string, "Nightvision Goggles", true)) return 44; else if (!strcmp(string, "Thermal Goggles", true)) return 45; else if (!strcmp(string, "Parachute", true)) return 46; return -1; } SSCANF:vehicle(string[]) { // This function is VERY basic, needs VASTLY improving to detect variations. if ('0' <= string[0] <= '9') { new ret = strval(string); if (400 <= ret <= 611) { return ret; } } else if (!strcmp(string, "Landstalker", true)) return 400; else if (!strcmp(string, "Bravura", true)) return 401; else if (!strcmp(string, "Buffalo", true)) return 402; else if (!strcmp(string, "Linerunner", true)) return 403; else if (!strcmp(string, "Perenniel", true)) return 404; else if (!strcmp(string, "Sentinel", true)) return 405; else if (!strcmp(string, "Dumper", true)) return 406; else if (!strcmp(string, "Firetruck", true)) return 407; else if (!strcmp(string, "Trashmaster", true)) return 408; else if (!strcmp(string, "Stretch", true)) return 409; else if (!strcmp(string, "Manana", true)) return 410; else if (!strcmp(string, "Infernus", true)) return 411; else if (!strcmp(string, "Voodoo", true)) return 412; else if (!strcmp(string, "Pony", true)) return 413; else if (!strcmp(string, "Mule", true)) return 414; else if (!strcmp(string, "Cheetah", true)) return 415; else if (!strcmp(string, "Ambulance", true)) return 416; else if (!strcmp(string, "Leviathan", true)) return 417; else if (!strcmp(string, "Moonbeam", true)) return 418; else if (!strcmp(string, "Esperanto", true)) return 419; else if (!strcmp(string, "Taxi", true)) return 420; else if (!strcmp(string, "Washington", true)) return 421; else if (!strcmp(string, "Bobcat", true)) return 422; else if (!strcmp(string, "Mr Whoopee", true)) return 423; else if (!strcmp(string, "BF Injection", true)) return 424; else if (!strcmp(string, "Hunter", true)) return 425; else if (!strcmp(string, "Premier", true)) return 426; else if (!strcmp(string, "Enforcer", true)) return 427; else if (!strcmp(string, "Securicar", true)) return 428; else if (!strcmp(string, "Banshee", true)) return 429; else if (!strcmp(string, "Predator", true)) return 430; else if (!strcmp(string, "Bus", true)) return 431; else if (!strcmp(string, "Rhino", true)) return 432; else if (!strcmp(string, "Barracks", true)) return 433; else if (!strcmp(string, "Hotknife", true)) return 434; else if (!strcmp(string, "Article Trailer", true)) return 435; else if (!strcmp(string, "Previon", true)) return 436; else if (!strcmp(string, "Coach", true)) return 437; else if (!strcmp(string, "Cabbie", true)) return 438; else if (!strcmp(string, "Stallion", true)) return 439; else if (!strcmp(string, "Rumpo", true)) return 440; else if (!strcmp(string, "RC Bandit", true)) return 441; else if (!strcmp(string, "Romero", true)) return 442; else if (!strcmp(string, "Packer", true)) return 443; else if (!strcmp(string, "Monster", true)) return 444; else if (!strcmp(string, "Admiral", true)) return 445; else if (!strcmp(string, "Squallo", true)) return 446; else if (!strcmp(string, "Seasparrow", true)) return 447; else if (!strcmp(string, "Pizzaboy", true)) return 448; else if (!strcmp(string, "Tram", true)) return 449; else if (!strcmp(string, "Article Trailer 2", true)) return 450; else if (!strcmp(string, "Turismo", true)) return 451; else if (!strcmp(string, "Speeder", true)) return 452; else if (!strcmp(string, "Reefer", true)) return 453; else if (!strcmp(string, "Tropic", true)) return 454; else if (!strcmp(string, "Flatbed", true)) return 455; else if (!strcmp(string, "Yankee", true)) return 456; else if (!strcmp(string, "Caddy", true)) return 457; else if (!strcmp(string, "Solair", true)) return 458; else if (!strcmp(string, "Berkley's RC Van", true)) return 459; else if (!strcmp(string, "Skimmer", true)) return 460; else if (!strcmp(string, "PCJ-600", true)) return 461; else if (!strcmp(string, "Faggio", true)) return 462; else if (!strcmp(string, "Freeway", true)) return 463; else if (!strcmp(string, "RC Baron", true)) return 464; else if (!strcmp(string, "RC Raider", true)) return 465; else if (!strcmp(string, "Glendale", true)) return 466; else if (!strcmp(string, "Oceanic", true)) return 467; else if (!strcmp(string, "Sanchez", true)) return 468; else if (!strcmp(string, "Sparrow", true)) return 469; else if (!strcmp(string, "Patriot", true)) return 470; else if (!strcmp(string, "Quad", true)) return 471; else if (!strcmp(string, "Coastguard", true)) return 472; else if (!strcmp(string, "Dinghy", true)) return 473; else if (!strcmp(string, "Hermes", true)) return 474; else if (!strcmp(string, "Sabre", true)) return 475; else if (!strcmp(string, "Rustler", true)) return 476; else if (!strcmp(string, "ZR-350", true)) return 477; else if (!strcmp(string, "Walton", true)) return 478; else if (!strcmp(string, "Regina", true)) return 479; else if (!strcmp(string, "Comet", true)) return 480; else if (!strcmp(string, "BMX", true)) return 481; else if (!strcmp(string, "Burrito", true)) return 482; else if (!strcmp(string, "Camper", true)) return 483; else if (!strcmp(string, "Marquis", true)) return 484; else if (!strcmp(string, "Baggage", true)) return 485; else if (!strcmp(string, "Dozer", true)) return 486; else if (!strcmp(string, "Maverick", true)) return 487; else if (!strcmp(string, "SAN News Maverick", true)) return 488; else if (!strcmp(string, "Rancher", true)) return 489; else if (!strcmp(string, "FBI Rancher", true)) return 490; else if (!strcmp(string, "Virgo", true)) return 491; else if (!strcmp(string, "Greenwood", true)) return 492; else if (!strcmp(string, "Jetmax", true)) return 493; else if (!strcmp(string, "Hotring Racer", true)) return 494; else if (!strcmp(string, "Sandking", true)) return 495; else if (!strcmp(string, "Blista Compact", true)) return 496; else if (!strcmp(string, "Police Maverick", true)) return 497; else if (!strcmp(string, "Boxville", true)) return 498; else if (!strcmp(string, "Benson", true)) return 499; else if (!strcmp(string, "Mesa", true)) return 500; else if (!strcmp(string, "RC Goblin", true)) return 501; else if (!strcmp(string, "Hotring Racer", true)) return 502; else if (!strcmp(string, "Hotring Racer", true)) return 503; else if (!strcmp(string, "Bloodring Banger", true)) return 504; else if (!strcmp(string, "Rancher", true)) return 505; else if (!strcmp(string, "Super GT", true)) return 506; else if (!strcmp(string, "Elegant", true)) return 507; else if (!strcmp(string, "Journey", true)) return 508; else if (!strcmp(string, "Bike", true)) return 509; else if (!strcmp(string, "Mountain Bike", true)) return 510; else if (!strcmp(string, "Beagle", true)) return 511; else if (!strcmp(string, "Cropduster", true)) return 512; else if (!strcmp(string, "Stuntplane", true)) return 513; else if (!strcmp(string, "Tanker", true)) return 514; else if (!strcmp(string, "Roadtrain", true)) return 515; else if (!strcmp(string, "Nebula", true)) return 516; else if (!strcmp(string, "Majestic", true)) return 517; else if (!strcmp(string, "Buccaneer", true)) return 518; else if (!strcmp(string, "Shamal", true)) return 519; else if (!strcmp(string, "Hydra", true)) return 520; else if (!strcmp(string, "FCR-900", true)) return 521; else if (!strcmp(string, "NRG-500", true)) return 522; else if (!strcmp(string, "HPV1000", true)) return 523; else if (!strcmp(string, "Cement Truck", true)) return 524; else if (!strcmp(string, "Towtruck", true)) return 525; else if (!strcmp(string, "Fortune", true)) return 526; else if (!strcmp(string, "Cadrona", true)) return 527; else if (!strcmp(string, "FBI Truck", true)) return 528; else if (!strcmp(string, "Willard", true)) return 529; else if (!strcmp(string, "Forklift", true)) return 530; else if (!strcmp(string, "Tractor", true)) return 531; else if (!strcmp(string, "Combine Harvester", true)) return 532; else if (!strcmp(string, "Feltzer", true)) return 533; else if (!strcmp(string, "Remington", true)) return 534; else if (!strcmp(string, "Slamvan", true)) return 535; else if (!strcmp(string, "Blade", true)) return 536; else if (!strcmp(string, "Freight (Train)", true)) return 537; else if (!strcmp(string, "Brownstreak (Train)", true)) return 538; else if (!strcmp(string, "Vortex", true)) return 539; else if (!strcmp(string, "Vincent", true)) return 540; else if (!strcmp(string, "Bullet", true)) return 541; else if (!strcmp(string, "Clover", true)) return 542; else if (!strcmp(string, "Sadler", true)) return 543; else if (!strcmp(string, "Firetruck LA", true)) return 544; else if (!strcmp(string, "Hustler", true)) return 545; else if (!strcmp(string, "Intruder", true)) return 546; else if (!strcmp(string, "Primo", true)) return 547; else if (!strcmp(string, "Cargobob", true)) return 548; else if (!strcmp(string, "Tampa", true)) return 549; else if (!strcmp(string, "Sunrise", true)) return 550; else if (!strcmp(string, "Merit", true)) return 551; else if (!strcmp(string, "Utility Van", true)) return 552; else if (!strcmp(string, "Nevada", true)) return 553; else if (!strcmp(string, "Yosemite", true)) return 554; else if (!strcmp(string, "Windsor", true)) return 555; else if (!strcmp(string, "Monster \"A\"", true)) return 556; else if (!strcmp(string, "Monster \"B\"", true)) return 557; else if (!strcmp(string, "Uranus", true)) return 558; else if (!strcmp(string, "Jester", true)) return 559; else if (!strcmp(string, "Sultan", true)) return 560; else if (!strcmp(string, "Stratum", true)) return 561; else if (!strcmp(string, "Elegy", true)) return 562; else if (!strcmp(string, "Raindance", true)) return 563; else if (!strcmp(string, "RC Tiger", true)) return 564; else if (!strcmp(string, "Flash", true)) return 565; else if (!strcmp(string, "Tahoma", true)) return 566; else if (!strcmp(string, "Savanna", true)) return 567; else if (!strcmp(string, "Bandito", true)) return 568; else if (!strcmp(string, "Freight Flat Trailer (Train)", true)) return 569; else if (!strcmp(string, "Streak Trailer (Train)", true)) return 570; else if (!strcmp(string, "Kart", true)) return 571; else if (!strcmp(string, "Mower", true)) return 572; else if (!strcmp(string, "Dune", true)) return 573; else if (!strcmp(string, "Sweeper", true)) return 574; else if (!strcmp(string, "Broadway", true)) return 575; else if (!strcmp(string, "Tornado", true)) return 576; else if (!strcmp(string, "AT400", true)) return 577; else if (!strcmp(string, "DFT-30", true)) return 578; else if (!strcmp(string, "Huntley", true)) return 579; else if (!strcmp(string, "Stafford", true)) return 580; else if (!strcmp(string, "BF-400", true)) return 581; else if (!strcmp(string, "Newsvan", true)) return 582; else if (!strcmp(string, "Tug", true)) return 583; else if (!strcmp(string, "Petrol Trailer", true)) return 584; else if (!strcmp(string, "Emperor", true)) return 585; else if (!strcmp(string, "Wayfarer", true)) return 586; else if (!strcmp(string, "Euros", true)) return 587; else if (!strcmp(string, "Hotdog", true)) return 588; else if (!strcmp(string, "Club", true)) return 589; else if (!strcmp(string, "Freight Box Trailer (Train)", true)) return 590; else if (!strcmp(string, "Article Trailer 3", true)) return 591; else if (!strcmp(string, "Andromada", true)) return 592; else if (!strcmp(string, "Dodo", true)) return 593; else if (!strcmp(string, "RC Cam", true)) return 594; else if (!strcmp(string, "Launch", true)) return 595; else if (!strcmp(string, "Police Car (LSPD)", true)) return 596; else if (!strcmp(string, "Police Car (SFPD)", true)) return 597; else if (!strcmp(string, "Police Car (LVPD)", true)) return 598; else if (!strcmp(string, "Police Ranger", true)) return 599; else if (!strcmp(string, "Picador", true)) return 600; else if (!strcmp(string, "S.W.A.T.", true)) return 601; else if (!strcmp(string, "Alpha", true)) return 602; else if (!strcmp(string, "Phoenix", true)) return 603; else if (!strcmp(string, "Glendale Shit", true)) return 604; else if (!strcmp(string, "Sadler Shit", true)) return 605; else if (!strcmp(string, "Baggage Trailer \"A\"", true)) return 606; else if (!strcmp(string, "Baggage Trailer \"B\"", true)) return 607; else if (!strcmp(string, "Tug Stairs Trailer", true)) return 608; else if (!strcmp(string, "Boxville", true)) return 609; else if (!strcmp(string, "Farm Trailer", true)) return 610; else if (!strcmp(string, "Utility Trailer", true)) return 611; return -1; }Отредактировано пользователем Nekit_Krut18
Заметка от Nekit_Krut18 , создано
3.2. Код больше 10 строк необходимо брать в теги "Код" и "Спойлер". Как это сделать рассказано в разделе "FAQ".
Устное предупреждение.
Поделиться сообщением
Ссылка на сообщение