Не могу пофиксить ерроры

HaU

Активный
Автор темы
191
93
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(87) : error 017: undefined symbol "ConnectMySQL"
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(96) : warning 213: tag mismatch
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(96) : warning 213: tag mismatch
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(96) : warning 202: number of arguments does not match definition
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(97) : warning 213: tag mismatch
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(97) : warning 213: tag mismatch
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(97) : warning 202: number of arguments does not match definition
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(98) : warning 213: tag mismatch
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(98) : warning 213: tag mismatch
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(98) : warning 202: number of arguments does not match definition
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(99) : warning 213: tag mismatch
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(99) : warning 213: tag mismatch
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(99) : warning 202: number of arguments does not match definition
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(101) : error 017: undefined symbol "LoadGruz"
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(291) : error 017: undefined symbol "Clear"
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(292) : error 017: undefined symbol "PlayerTextDraws"
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(297) : error 017: undefined symbol "KillTimers"
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(303) : error 017: undefined symbol "SetPlayerSpawn"
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(420) : error 029: invalid expression, assumed zero
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(420) : warning 215: expression has no effect
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(420) : warning 215: expression has no effect
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(420) : warning 215: expression has no effect
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(420) : warning 215: expression has no effect
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(420) : warning 215: expression has no effect
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(420) : error 001: expected token: ";", but found ")"
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(420) : error 029: invalid expression, assumed zero
C:\Users\Пользователь\Desktop\New Rp\gamemodes\gestapo.pwn(420) : fatal error 107: too many error messages on one line


С 1 еррора по последний:
    // == == == [ Вазелиновая жопачка грпузовых ра ] == == ==
    LoadGruz();
    // == == == [ Интерьер Регистрации/Авторизации ] == == ==
    new tmpobjid, map_world = -1, map_int = -1;
    tmpobjid = CreateDynamicObject(19377, 247.991806, 34.998001, 1006.241271, 0.000000, 90.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 18646, "matcolours", "grey-80-percent", 0x00000000);
    tmpobjid = CreateDynamicObject(19450, 243.570098, 34.971900, 1007.989501, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 7488, "vegasdwntwn1", "vgnstonewall1_256", 0x00000000);
    tmpobjid = CreateDynamicObject(19450, 248.470397, 30.245599, 1007.989501, 0.000000, 0.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 7488, "vegasdwntwn1", "vgnstonewall1_256", 0x00000000);
    tmpobjid = CreateDynamicObject(19450, 248.424942, 39.656631, 1007.989501, 0.000000, 0.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 7488, "vegasdwntwn1", "vgnstonewall1_256", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 253.168395, 39.667198, 1008.629821, 0.000000, 180.000000, 180.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
    tmpobjid = CreateDynamicObject(19450, 253.155105, 40.396900, 1005.764526, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 7488, "vegasdwntwn1", "vgnstonewall1_256", 0x00000000);
    tmpobjid = CreateDynamicObject(19450, 253.155105, 30.765899, 1007.989501, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 7488, "vegasdwntwn1", "vgnstonewall1_256", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 253.192398, 37.713199, 1010.343811, 0.000000, 180.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 253.168395, 37.470199, 1010.343811, 0.000000, 180.000000, 180.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 253.192398, 35.525199, 1008.629821, 0.000000, 180.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 253.168395, 36.585201, 1009.670776, 0.000000, 180.000000, 180.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 253.192398, 38.607200, 1009.670776, 0.000000, 180.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 253.168395, 37.591201, 1008.687805, -90.000000, 90.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 253.192398, 38.417198, 1007.451782, 90.000000, 90.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 253.192398, 36.183200, 1007.451782, 90.000000, 90.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 253.168395, 39.851200, 1009.787780, -90.000000, 90.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 253.168395, 35.334201, 1009.787780, -90.000000, 90.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "whiteforletters", 0x00000000);
    tmpobjid = CreateDynamicObject(19431, 245.793411, 30.620260, 1007.989501, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 3945, "bistro_alpha", "creme128", 0x00000000);
    tmpobjid = CreateDynamicObject(19878, 246.076507, 30.526100, 1006.757202, 0.000000, 73.100097, 42.840000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 10041, "archybuild10", "whitedecosfe4", 0x00000000);
    tmpobjid = CreateDynamicObject(2123, 250.584747, 32.671661, 1006.878417, 0.000000, 0.000000, 174.420227, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 14385, "trailerkb", "tr_floor2", 0x00000000);
    SetDynamicObjectMaterial(tmpobjid, 1, 6060, "shops2_law", "venshade03_law", 0x00000000);
    tmpobjid = CreateDynamicObject(2123, 252.482543, 32.319801, 1006.878417, 0.000000, 0.000000, -7.739998, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 14385, "trailerkb", "tr_floor2", 0x00000000);
    SetDynamicObjectMaterial(tmpobjid, 1, 6060, "shops2_law", "venshade03_law", 0x00000000);
    SetDynamicObjectMaterial(tmpobjid, 2, 10101, "2notherbuildsfe", "Bow_church_grass_alt", 0x00000000);
    tmpobjid = CreateDynamicObject(2123, 251.515731, 33.748291, 1006.878417, 0.000000, 0.000000, 81.359939, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 14385, "trailerkb", "tr_floor2", 0x00000000);
    SetDynamicObjectMaterial(tmpobjid, 1, 6060, "shops2_law", "venshade03_law", 0x00000000);
    tmpobjid = CreateDynamicObject(19916, 252.774307, 34.942501, 1006.243591, 0.000000, 0.000000, -90.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 14803, "bdupsnew", "Bdup2_Artex", 0x00000000);
    SetDynamicObjectMaterial(tmpobjid, 1, 3437, "ballypillar01", "ballywall01_64", 0x00000000);
    tmpobjid = CreateDynamicObject(19431, 252.266998, 35.493801, 1007.989501, 0.000000, 0.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 3945, "bistro_alpha", "creme128", 0x00000000);
    tmpobjid = CreateDynamicObject(948, 252.729293, 39.250640, 1006.327209, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 3, 18757, "vcinteriors", "dts_elevator_ceiling", 0x00000000);
    tmpobjid = CreateDynamicObject(948, 252.729293, 35.846599, 1006.327209, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 3, 18757, "vcinteriors", "dts_elevator_ceiling", 0x00000000);
    tmpobjid = CreateDynamicObject(19431, 244.481353, 36.768760, 1007.989501, 0.000000, 0.000000, 121.320022, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 7488, "vegasdwntwn1", "vgnstonewall1_256", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 246.476394, 39.693000, 1006.395812, 0.000000, 180.000000, 152.520095, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 1677, "wshxrefhse2", "yellowbeige_128", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 245.146606, 37.085498, 1007.355773, 0.000000, 180.000000, -25.440000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 1677, "wshxrefhse2", "yellowbeige_128", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 245.125595, 37.095500, 1009.588806, 0.000000, 0.000000, -25.440000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 1677, "wshxrefhse2", "yellowbeige_128", 0x00000000);
    tmpobjid = CreateDynamicObject(19431, 243.040298, 36.364898, 1007.989501, 0.000000, 0.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 7488, "vegasdwntwn1", "vgnstonewall1_256", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 245.719696, 38.193298, 1006.263793, 90.000000, 90.000000, 62.459999, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 1677, "wshxrefhse2", "yellowbeige_128", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 246.753692, 40.174301, 1006.263793, 90.000000, 90.000000, 62.459999, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 1677, "wshxrefhse2", "yellowbeige_128", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 245.695693, 38.199298, 1009.780822, -89.940002, 89.879997, 62.459999, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 1677, "wshxrefhse2", "yellowbeige_128", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 246.719696, 40.173301, 1009.780822, -89.940002, 89.879997, 62.459999, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 1677, "wshxrefhse2", "yellowbeige_128", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 246.476394, 39.693000, 1008.626770, 0.000000, 180.000000, 152.520095, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 1677, "wshxrefhse2", "yellowbeige_128", 0x00000000);
    tmpobjid = CreateDynamicObject(948, 243.902862, 36.032028, 1006.328735, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 3, 18757, "vcinteriors", "dts_elevator_ceiling", 0x00000000);
    tmpobjid = CreateDynamicObject(2631, 249.768112, 37.315521, 1006.308471, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 19844, "metalpanels", "metalpanel2", 0x00000000);
    tmpobjid = CreateDynamicObject(2842, 246.801513, 30.390031, 1006.328796, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 4828, "airport3_las", "gnhotelwall02_128", 0x00000000);
    tmpobjid = CreateDynamicObject(2315, 249.071701, 37.363800, 1006.340576, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 19082, "laserpointer4", "laserbeam-4-64x64", 0x00000000);
    tmpobjid = CreateDynamicObject(19934, 251.572692, 35.506801, 1006.328918, 0.000000, 0.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 5040, "shopliquor_las", "lasjmliq1", 0x00000000);
    tmpobjid = CreateDynamicObject(19934, 251.572692, 35.506801, 1008.701904, 0.000000, 0.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 5040, "shopliquor_las", "lasjmliq1", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 251.419799, 35.509799, 1007.898071, 0.000000, 180.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 3435, "motel01sign", "vegasmotelsign03_128", 0x00000000);
    tmpobjid = CreateDynamicObject(19934, 245.794998, 31.381900, 1005.835021, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 5040, "shopliquor_las", "lasjmliq1", 0x00000000);
    tmpobjid = CreateDynamicObject(19934, 245.796997, 31.381900, 1009.190979, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 5040, "shopliquor_las", "lasjmliq1", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 245.802307, 31.545400, 1007.917968, 0.000000, 180.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 3435, "motel01sign", "vegasmotelsign03_128", 0x00000000);
    tmpobjid = CreateDynamicObject(1897, 245.778305, 31.545400, 1010.121520, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 3435, "motel01sign", "vegasmotelsign03_128", 0x00000000);
    tmpobjid = CreateDynamicObject(1706, 249.312805, 39.018909, 1006.328918, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 19597, "lsbeachside", "wall7-256x256", 0x00000000);
    SetDynamicObjectMaterial(tmpobjid, 1, 18901, "matclothes", "beretblk", 0x00000000);
    SetDynamicObjectMaterial(tmpobjid, 2, 19004, "roundbuilding1", "stonewalltile4", 0x00000000);
    tmpobjid = CreateDynamicObject(19477, 247.338363, 30.848352, 1006.359741, 0.000000, -89.299949, -90.199981, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterialText(tmpobjid, 0, "_______", 140, "Ariel", 85, 0, 0xFF000000, 0x00000000, 1);
    tmpobjid = CreateDynamicObject(19477, 247.338821, 30.978340, 1006.361328, 0.000000, -89.299949, -90.199981, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterialText(tmpobjid, 0, "Welcome", 140, "Ariel", 80, 0, 0xFF000000, 0x00000000, 1);
    tmpobjid = CreateDynamicObject(1734, 251.378692, 32.527801, 1009.675476, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 3615, "beachhut", "asanmonbhut2", 0x00000000);
    SetDynamicObjectMaterial(tmpobjid, 1, 14803, "bdupsnew", "Bdup2_Artex", 0x00000000);
    tmpobjid = CreateDynamicObject(19786, 250.752899, 30.328399, 1008.182373, 0.000000, 0.000000, 180.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 18646, "matcolours", "grey-40-percent", 0x00000000);
    SetDynamicObjectMaterial(tmpobjid, 1, 18646, "matcolours", "grey-95-percent", 0x00000000);
    tmpobjid = CreateDynamicObject(2081, 250.266601, 30.275199, 1006.301879, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    SetDynamicObjectMaterial(tmpobjid, 0, 18800, "mroadhelix1", "road1-3", 0x00000000);
    tmpobjid = CreateDynamicObject(2030, 251.384567, 32.532619, 1006.726074, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(2059, 250.426696, 30.520099, 1006.442810, 0.000000, 0.000000, 37.619998, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(1841, 249.316772, 30.276500, 1007.586486, 0.000000, -12.000000, -90.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(9248, 203.829803, 41.609100, 1006.492980, 0.000000, 0.000000, 236.940093, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(1536, 246.561019, 30.292381, 1006.267150, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(2694, 245.376556, 30.590986, 1006.433898, -0.199999, -0.099999, 83.298019, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19325, 253.168395, 38.892101, 1007.920776, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(2462, 243.762207, 30.374200, 1005.009094, 0.000000, 0.000000, 180.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(2694, 244.007797, 30.570898, 1006.633605, 0.000000, 0.000000, 91.498001, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(1841, 252.196792, 30.276500, 1007.586486, 0.000000, -12.000000, -90.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(2396, 245.350097, 30.637460, 1007.853271, 0.000000, 0.000000, 183.980102, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(18951, 244.088287, 30.550710, 1007.240905, -14.819998, -94.260101, -39.900009, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19814, 248.382293, 39.518299, 1006.571716, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19814, 253.055999, 34.390998, 1006.571716, 0.000000, 0.000000, -90.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19814, 249.352905, 30.337999, 1006.571716, 0.000000, 0.000000, 180.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19829, 246.352203, 30.334299, 1007.654418, 0.000000, 0.000000, 180.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(11744, 251.373626, 33.096321, 1007.128173, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(11744, 251.968246, 32.485088, 1007.128173, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(11744, 250.855117, 32.589950, 1007.128173, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(14793, 247.224899, 35.662689, 1009.640686, 0.000000, 0.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19377, 247.991806, 34.998001, 1009.817321, 0.000000, 90.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19603, 246.326904, 39.374000, 1008.375000, 0.000000, 90.000000, 152.459899, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19325, 246.715499, 40.152400, 1007.920776, 0.000000, 0.000000, 152.459899, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19630, 245.839599, 38.417098, 1007.675170, 0.000000, -7.756000, 63.476001, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19630, 245.761398, 38.265499, 1008.572082, 0.000000, 23.166000, 63.476001, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(1599, 245.592407, 37.938499, 1007.053588, -9.585000, 16.139999, -26.399999, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(1600, 246.124801, 39.089000, 1008.114013, -3.359998, 18.120000, -28.079999, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(1604, 245.509902, 37.751300, 1008.252685, -9.852000, -18.719999, -30.479999, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(2344, 250.983795, 31.010700, 1006.758972, -7.079998, 0.000000, 34.259998, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(18868, 250.943618, 37.723011, 1006.824279, 0.000000, 0.000000, 209.580093, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(11716, 250.860900, 32.786598, 1007.124694, 0.000000, 0.000000, -94.080009, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(11716, 251.996322, 32.295970, 1007.124694, 0.000000, 0.000000, 94.080001, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(11716, 251.577209, 33.103149, 1007.124816, 0.000000, 0.000000, 180.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(11715, 251.187606, 33.079639, 1007.132812, 0.000000, 0.000000, 180.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(11715, 250.864395, 32.382801, 1007.130493, 0.000000, 0.000000, -90.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(11715, 251.992263, 32.695388, 1007.130920, 0.000000, 0.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19807, 250.452499, 30.644599, 1006.869323, 0.000000, 0.000000, 219.779998, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19819, 250.970397, 32.231281, 1007.202819, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19819, 251.883239, 32.814140, 1007.202819, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19819, 251.100906, 32.960449, 1007.202819, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(1664, 251.451995, 32.485900, 1007.292297, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(1664, 250.886596, 33.112098, 1006.483703, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(1664, 250.986236, 33.115150, 1006.483703, 0.000000, 0.000000, 14.760000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19173, 243.666107, 31.827199, 1008.544128, 0.000000, 0.000000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(2265, 252.568099, 33.414398, 1008.203002, 0.000000, 0.000000, -90.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(2263, 252.563400, 32.566299, 1007.816406, 0.000000, 0.000000, -90.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19318, 243.665893, 34.626098, 1008.591491, 0.000000, -57.180000, 90.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19893, 250.688613, 37.320781, 1006.825195, 0.000000, 0.000000, -146.339904, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(2226, 243.993942, 35.340259, 1006.327819, 0.000000, 0.000000, 71.219993, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19611, 244.888809, 36.315910, 1006.322204, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(367, 244.824996, 36.204498, 1007.943420, -8.939998, 17.700000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(19421, 248.744903, 37.138938, 1006.413879, -6.400000, 0.000000, -60.659999, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(2263, 248.458801, 39.069690, 1008.086914, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(2260, 249.921569, 39.058410, 1008.382568, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    tmpobjid = CreateDynamicObject(2261, 251.425765, 39.064884, 1007.637207, 0.000000, 0.000000, 0.000000, map_world, map_int, -1, 300.00, 300.00);
    return true;
}
public OnGameModeExit()
{
    return true;
}
public OnPlayerRequestClass(playerid, classid)
{
    return true;
}
public OnPlayerConnect(playerid)
{
    GetPlayerName(playerid, pInfo[playerid][pName], MAX_PLAYER_NAME);
     static fmt_str[] = "SELECT `ID` FROM `users` WHERE `Name` = '%s' LIMIT 1";
    new string[sizeof(fmt_str)+(-2+MAX_PLAYER_NAME)];
    mysql_format(dbHandle, string, sizeof(string), fmt_str, pInfo[playerid][pName]);
    mysql_function_query(dbHandle, string, true, "PlayerCheck", "d", playerid);
    Clear(playerid);
    PlayerTextDraws(playerid);
    return true;
}
public OnPlayerDisconnect(playerid, reason)
{
    KillTimers(playerid);
    return true;
}
public OnPlayerSpawn(playerid)
{
    if(login_check{playerid} == true)
         SetPlayerSpawn(playerid);
    return true;
}
public OnPlayerDeath(playerid, killerid, reason)
{
    return true;
}
public OnVehicleSpawn(vehicleid)
{
    return true;
}
public OnVehicleDeath(vehicleid, killerid)
{
    return true;
}
public OnPlayerText(playerid, text[])
{
    if(login_check{playerid} == false)
    {
        SCM(playerid, Color_Grey, !"Вы не авторизованы.");
        return false;
    }
    return false;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
    return false;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    return true;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
    return true;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
// gruzlo ===
    if(newstate == PLAYER_STATE_DRIVER)
    {
        if(GetPVarInt(playerid, "loader_bags_in_hands") > 0)
        {
            SendClientMessage(playerid, Color_Red, "Вы уронили груз!");
            RemovePlayerAttachedObject(playerid, 2);
            SetPlayerCheckpoint(playerid, 2811.1604,1702.1115,11.8299, 2.0);
            ApplyAnimation(playerid, "PED", "IDLE_tired", 4.1,0,1,1,0,1);
            return DeletePVar(playerid, "loader_bags_in_hands");
        }
    }
    return true;
}
public OnPlayerEnterCheckpoint(playerid)
{
// gruzlo ==
    if(IsPlayerInRangeOfPoint(playerid, 2.0, 2811.1604,1702.1115,11.8299))
    {
        if(GetPVarInt(playerid, "loader_job") > 0)
        {
            SetPlayerCheckpoint(playerid, 2811.1604,1702.1115,11.8299, 2.0);
            ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.1,0,1,1,1,1);
            SetPlayerAttachedObject(playerid, 2, 2060, 5, 0.01, 0.1, 0.2, 100, 10, 85);
            SetPVarInt(playerid, "loader_bags_in_hands", 1);
            return true;
        }
    }
    if(IsPlayerInRangeOfPoint(playerid, 2.0, 2811.1604,1702.1115,11.82999))
    {
        if(GetPVarInt(playerid, "loader_job") > 0)
        {
            static const fmt_str[] = "Мешков перетащено: %d";
            new str[sizeof(fmt_str) + (-2+5)];
            DeletePVar(playerid, "loader_bags_in_hands");
            SetPVarInt(playerid, "loader_bags", GetPVarInt(playerid, "loader_bags")+1);
            RemovePlayerAttachedObject(playerid, 2);
            SetPlayerCheckpoint(playerid, 2811.1604,1702.1115,11.8299, 2.0);
            ApplyAnimation(playerid, "PED", "IDLE_tired", 4.1,0,1,1,0,1);
            format(str, sizeof(str), fmt_str, GetPVarInt(playerid, "loader_bags"));
            SendClientMessage(playerid, Color_Green, str);
            return true;
        }
    }
    return true;
}
public OnPlayerLeaveCheckpoint(playerid)
{
    return true;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
    return true;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
    return true;
}
public OnRconCommand(cmd[])
{
    return true;
}
public OnPlayerRequestSpawn(playerid)
{
    return true;
}
public OnObjectMoved(objectid)
{
    return true;
}
public OnPlayerObjectMoved(playerid, objectid)
{
    return true;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
// gruzlo ==
    if(pickupid == loader_job[0])
    {
        ShowPlayerDialog(playerid, DIALOGUE_LOADER, DIALOG_STYLE_MSGBOX, "Раздевалка", "Вы хотите начать рабочий день, или завершить?", "Начать", "Завершить")
Извиняюсь за яндекс диск.
.PWN недоступно на форуме
 
Последнее редактирование:
Решение
Здравствуйте. У вас ошибки не в данных строках кода которые выдает компилятор, а где-то в коде, компилятор их не показывает, я не смогу проверить код одним .pwn файлом. Ищите ошибки в коде(Не те которые показывает компилятор).

R0M1k

Участник
35
6
Здравствуйте. У вас ошибки не в данных строках кода которые выдает компилятор, а где-то в коде, компилятор их не показывает, я не смогу проверить код одним .pwn файлом. Ищите ошибки в коде(Не те которые показывает компилятор).