SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Română/Romanian

Reply
 
Thread Tools Display Modes
Old 01/03/2017, 06:13 PM   #1
Eiffel
Big Clucker
 
Eiffel's Avatar
 
Join Date: Jan 2017
Posts: 106
Reputation: 0
Post eroare de compilare

TALĂ mă poate ajuta? I STAND CU CARE FS ...

Code:
#include <a_samp> 
#include <core> 
#include <float> 

new glob0; 

new glob4[199]; 

new glob320; 

new glob324[15]; 

new glob360[14]; 


public OnGameModeInit() 
{ 
    glob0 = funcidx(8) != -1; 
    glob4 = funcidx(104) != -1; 
    if(-1 != funcidx(204)) 
    { 
        return CallLocalFunction(284, 364); 
    } 
    return 1; 
} 

public OnPlayerCommandText(playerid, cmdtext) 
{ 
    if(glob0 && !CallLocalFunction(368, 464, playerid, cmdtext)) 
    { 
        return 1; 
    } 
    new var0 = 0, var1[32]; 
    while(cmdtext[++var0] > 32) 
    { 
        var1[var0 - 1] = tolower(cmdtext[var0]); 
    } 
    format(var1, 32, "cmd_%s", var1); 
    while(cmdtext[var0] == 32) 
    { 
        var0++; 
    } 
    if(!cmdtext[var0]) 
    { 
        if(glob4) 
        { 
            return CallLocalFunction(504, 604, playerid, cmdtext); 
        } 
        return CallLocalFunction(var1, 640, playerid, 652); 
    } 
    if(glob4) 
    { 
        return CallLocalFunction(660, 760, playerid, cmdtext); 
    } 
    return CallLocalFunction(var1, 788, playerid, cmdtext); 
} 

public OnFilterScriptInit() 
{ 
    print("\n--------------------------------------"); 
    print(" Blank Filterscript by your name here"); 
    print("--------------------------------------\n"); 
    Create3DTextLabel(1392, 4294967210, 3306852273, 1137325733, 1105080405, 1106247680, 0, 0); 
    Create3DTextLabel(1568, 4294967210, 3306878496, 1137519981, 1105080405, 1106247680, 0, 0); 
    Create3DTextLabel(1740, 4294967210, 3306905129, 1137703941, 1105084442, 1106247680, 0, 0); 
    Create3DTextLabel(1916, 4294967210, 3306932373, 1137893694, 1105084442, 1106247680, 0, 0); 
    Create3DTextLabel(2088, 4294967210, 3306957634, 1138099890, 1105084442, 1106247680, 0, 0); 
    Create3DTextLabel(2268, 4294967210, 3306988868, 1137817593, 1105084442, 1106247680, 0, 0); 
    Create3DTextLabel(2448, 4294967210, 3306961895, 1137638680, 1105084442, 1106247680, 0, 0); 
    Create3DTextLabel(2620, 4294967210, 3306898581, 1137224522, 1105084442, 1106247680, 0, 0); 
    Create3DTextLabel(2796, 4294967210, 3306872924, 1137056488, 1105084442, 1106247680, 0, 0); 
    Create3DTextLabel(2972, 4294967210, 3306939860, 1136687019, 1105072174, 1106247680, 0, 0); 
    Create3DTextLabel(3144, 4294967210, 3306959065, 1136403379, 1105076211, 1106247680, 0, 0); 
    Create3DTextLabel(3316, 4294967210, 3306977090, 1136129747, 1105072174, 1106247680, 0, 0); 
    Create3DTextLabel(3476, 4294967210, 3306996036, 1135821151, 1105072174, 1106247680, 0, 0); 
    Create3DTextLabel(3648, 4294967210, 3307013388, 1135523365, 1105076211, 1106247680, 0, 0); 
    glob360[0] = CreatePickup(1239, 1, -2473.0909, 404.517, 27.7735, 4294967295); 
    glob360[1] = CreatePickup(1239, 1, -2479.4207, 410.4184, 27.7735, 4294967295); 
    glob360[2] = CreatePickup(1239, 1, -2485.9976, 416.0747, 27.7812, 4294967295); 
    glob360[3] = CreatePickup(1239, 1, -2492.6355, 421.8399, 27.7812, 4294967295); 
    glob360[4] = CreatePickup(1239, 1, -2498.867, 428.107, 27.7812, 4294967295); 
    glob360[5] = CreatePickup(1239, 1, -2506.3619, 419.5546, 27.7812, 4294967295); 
    glob360[6] = CreatePickup(1239, 1, -2499.8248, 414.0568, 27.7812, 4294967295); 
    glob360[7] = CreatePickup(1239, 1, -2484.2955, 401.4269, 27.7812, 4294967295); 
    glob360[8] = CreatePickup(1239, 1, -2478.0142, 396.3132, 27.7812, 4294967295); 
    glob360[9] = CreatePickup(1239, 1, -2494.4351, 385.0404, 27.7579, 4294967295); 
    glob360[10] = CreatePickup(1239, 1, -2499.014, 376.3098, 27.7656, 4294967295); 
    glob360[11] = CreatePickup(1239, 1, -2503.3777, 367.9601, 27.7579, 4294967295); 
    glob360[12] = CreatePickup(1239, 1, -2508.1104, 358.5375, 27.7579, 4294967295); 
    glob360[13] = CreatePickup(1239, 1, -2512.2664, 349.4603, 27.7656, 4294967295); 
    glob324[0] = AddStaticVehicleEx(559, -2476.8995, 413.2998, 27.5, 137.994, 74, 1, 15); 
    glob324[1] = AddStaticVehicleEx(535, -2483.3995, 419.0996, 27.6, 137.9989, 11, 11, 15); 
    glob324[2] = AddStaticVehicleEx(541, -2490.2002, 424.7001, 27.5, 137.994, 252, 50, 15); 
    glob324[3] = AddStaticVehicleEx(506, -2496.3995, 430.7001, 27.6, 136.0, 15, 231, 15); 
    glob324[4] = AddStaticVehicleEx(429, -2470.7002, 407.0996, 27.5, 137.9989, 240, 6, 15); 
    glob324[5] = AddStaticVehicleEx(575, -2480.2, 393.5, 27.5, 322.0, 94, 6, 15); 
    glob324[6] = AddStaticVehicleEx(439, -2486.4, 398.5, 27.7999, 322.0, -1, 138, 15); 
    glob324[7] = AddStaticVehicleEx(412, -2502.0, 411.0996, 27.7, 323.9979, 99, 92, 15); 
    glob324[8] = AddStaticVehicleEx(411, -2508.8001, 416.0, 27.6, 324.0, 219, -1, 15); 
    glob324[9] = AddStaticVehicleEx(522, -2492.0, 383.2, 27.3999, 51.998, 57, 245, 15); 
    glob324[10] = AddStaticVehicleEx(468, -2496.6001, 375.0, 27.5, 60.0, 19, 29, 15); 
    glob324[11] = AddStaticVehicleEx(471, -2500.7999, 366.7001, 27.2999, 59.9959, 32, 8, 15); 
    glob324[12] = AddStaticVehicleEx(463, -2505.7, 357.3999, 27.3999, 62.0, 30, 246, 15); 
    glob324[13] = AddStaticVehicleEx(462, -2510.0, 348.2999, 27.3999, 60.0, 10, 54, 15); 
    glob324[14] = AddStaticVehicleEx(481, -2513.7, 339.1, 27.3999, 62.0, 249, 254, 15); 
    CreateObject(3666, -2487.3001, 382.7999, 27.2999, 0.0, 0.0, 0.0, 0); 
    CreateObject(3666, -2493.5, 372.0, 27.2999, 0.0, 0.0, 0.0, 0); 
    CreateObject(3666, -2497.5, 364.7, 27.2999, 0.0, 0.0, 0.0, 0); 
    CreateObject(3666, -2501.8001, 355.7999, 27.2999, 0.0, 0.0, 0.0, 0); 
    CreateObject(3666, -2506.4, 346.0, 27.2999, 0.0, 0.0, 0.0, 0); 
    CreateObject(3666, -2510.1001, 337.8999, 27.2999, 0.0, 0.0, 0.0, 0); 
    CreateObject(3666, -2498.4, 438.5, 28.3999, 0.0, 0.0, 0.0, 0); 
    CreateObject(3666, -2517.0, 418.1, 28.3999, 0.0, 0.0, 0.0, 0); 
    CreateObject(3666, -2477.0, 385.5, 35.7999, 0.0, 0.0, 0.0, 0); 
    CreateObject(3666, -2463.6001, 405.0, 35.7999, 0.0, 0.0, 0.0, 0); 
    CreateObject(3666, -2481.0, 379.7998, 35.7999, 0.0, 0.0, 0.0, 0); 
    CreateObject(3858, -2512.7, 424.2, 30.2, 0.0, 0.0, 100.0, 0); 
    CreateObject(3858, -2503.7, 434.2999, 30.2, 0.0, 0.0, 84.498, 0); 
    CreateObject(3858, -2513.3001, 423.7999, 30.2, 0.0, 0.0, 100.496, 0); 
    CreateObject(3858, -2511.9, 413.2, 30.2, 0.0, 0.0, 185.242, 0); 
    CreateObject(3858, -2507.3001, 409.2999, 30.2, 0.0, 0.0, 185.24, 0); 
    CreateObject(3858, -2507.2999, 409.2998, 30.2, 0.0, 0.0, 185.24, 0); 
    CreateObject(3858, -2493.2, 433.7999, 30.7999, 0.0, 0.0, 1.24, 0); 
    CreateObject(3858, -2483.9, 424.7999, 32.5, 0.0, 0.0, 0.236, 0); 
    CreateObject(3858, -2474.3001, 416.3999, 34.0, 0.0, 0.0, 4.2309, 0); 
    CreateObject(3858, -2467.7, 410.2, 36.0, 0.0, 0.0, 2.48, 0); 
    CreateObject(3858, -2466.8001, 399.7999, 38.0, 0.0, 0.0, 278.23, 0); 
    CreateObject(3858, -2472.9, 391.1, 38.0, 0.0, 0.0, 279.729, 0); 
    CreateObject(3858, -2486.3001, 383.8999, 38.0, 0.0, 0.0, 6.478, 0); 
    CreateObject(3858, -2493.3001, 389.5, 38.0, 0.0, 0.0, 6.4759, 0); 
    CreateObject(3858, -2502.9, 387.8999, 38.0, 0.0, 0.0, 103.2259, 0); 
    CreateObject(3858, -2510.0, 375.2, 38.0, 0.0, 0.0, 108.222, 0); 
    CreateObject(3858, -2516.4, 362.2, 38.0, 0.0, 0.0, 109.221, 0); 
    CreateObject(3858, -2522.4, 349.0, 38.0, 0.0, 0.0, 111.721, 0); 
    CreateObject(3858, -2527.7, 335.5, 38.0, 0.0, 0.0, 114.97, 0); 
    CreateObject(3858, -2532.4, 321.7, 38.0, 0.0, 0.0, 117.216, 0); 
    CreateObject(3858, -2535.1001, 313.3999, 38.0, 0.0, 0.0, 117.2129, 0); 
    CreateObject(3858, -2530.5, 304.0, 38.0, 0.0, 0.0, 204.9629, 0); 
    CreateObject(3858, -2521.6001, 300.8999, 38.0, 0.0, 0.0, 204.9609, 0); 
    CreateObject(3858, -2512.9, 404.5, 30.7, 0.0, 0.0, 103.2399, 0); 
    CreateObject(3858, -2520.5, 392.1, 30.7, 0.0, 0.0, 103.2389, 0); 
    CreateObject(3858, -2526.6001, 380.1, 29.3999, 0.0, 0.0, 112.7389, 0); 
    CreateObject(3858, -2529.5, 366.5, 25.8999, 0.0, 0.0, 132.7359, 0); 
    CreateObject(3858, -2529.7, 354.6, 23.3999, 0.0, 0.0, 132.231, 0); 
    CreateObject(3858, -2529.6001, 351.7999, 23.3999, 0.0, 0.0, 128.2259, 0); 
    return 0; 
} 

public OnPlayerConnect(playerid) 
{ 
    SendClientMessage(playerid, 0xFFFFFFFF, "Esse servidor usa uma concessionaria criada por {FF0000}NanKinG"); 
    return 1; 
} 

public OnPlayerPickUpPickup(playerid, pickupid) 
{ 
    if(pickupid == glob360[0]) 
    { 
        ShowPlayerDialog(playerid, 1, 2, 4072, 4172, 4256, 4288); 
        return 1; 
    } 
    if(pickupid == glob360[1]) 
    { 
        ShowPlayerDialog(playerid, 2, 2, 4324, 4424, 4504, 4536); 
        return 1; 
    } 
    if(pickupid == glob360[2]) 
    { 
        ShowPlayerDialog(playerid, 3, 2, 4572, 4672, 4756, 4788); 
        return 1; 
    } 
    if(pickupid == glob360[3]) 
    { 
        ShowPlayerDialog(playerid, 4, 2, 4824, 4924, 5004, 5036); 
        return 1; 
    } 
    if(pickupid == glob360[4]) 
    { 
        ShowPlayerDialog(playerid, 5, 2, 5072, 5172, 5260, 5292); 
        return 1; 
    } 
    if(pickupid == glob360[5]) 
    { 
        ShowPlayerDialog(playerid, 6, 2, 5328, 5428, 5516, 5548); 
        return 1; 
    } 
    if(pickupid == glob360[6]) 
    { 
        ShowPlayerDialog(playerid, 7, 2, 5584, 5684, 5760, 5792); 
        return 1; 
    } 
    if(pickupid == glob360[7]) 
    { 
        ShowPlayerDialog(playerid, 8, 2, 5828, 5928, 6012, 6044); 
        return 1; 
    } 
    if(pickupid == glob360[8]) 
    { 
        ShowPlayerDialog(playerid, 9, 2, 6080, 6180, 6264, 6296); 
        return 1; 
    } 
    if(pickupid == glob360[9]) 
    { 
        ShowPlayerDialog(playerid, 10, 2, 6332, 6432, 6516, 6548); 
        return 1; 
    } 
    if(pickupid == glob360[10]) 
    { 
        ShowPlayerDialog(playerid, 11, 2, 6584, 6684, 6764, 6796); 
        return 1; 
    } 
    if(pickupid == glob360[11]) 
    { 
        ShowPlayerDialog(playerid, 12, 2, 6832, 6932, 7000, 7032); 
        return 1; 
    } 
    if(pickupid == glob360[12]) 
    { 
        ShowPlayerDialog(playerid, 13, 2, 7068, 7168, 7248, 7280); 
        return 1; 
    } 
    if(pickupid == glob360[13]) 
    { 
        ShowPlayerDialog(playerid, 14, 2, 7316, 7416, 7492, 7524); 
        return 1; 
    } 
    return 1; 
} 

public OnDialogResponse(playerid, arg1, arg2, arg3) 
{ 
    if(arg1 == 1) 
    { 
        if(arg2) 
        { 
            if(!arg3) 
            { 
                GetPlayerMoney(playerid); 
                if(GetPlayerMoney(playerid) < 15000) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "ERRO: Você não possui dinheiro suficiente"); 
                } 
                if(!glob320) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "[ERRO]: A concessionaria KinG-Cars se encontra fechada"); 
                } 
                glob320 = 1; 
                GivePlayerMoney(playerid, -15000); 
                SetPlayerPos(playerid, -2531.199, 309.1684, 35.1171); 
                CreateVehicle(429, -2531.6365, 311.0065, 34.7969, 82.2873, 0, 1, 60); 
                return 1; 
            } 
        } 
    } 
    if(arg1 == 2) 
    { 
        if(arg2) 
        { 
            if(!arg3) 
            { 
                GetPlayerMoney(playerid); 
                if(GetPlayerMoney(playerid) < 15000) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "ERRO: Você não possui dinheiro suficiente"); 
                } 
                if(!glob320) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "[ERRO]: A concessionaria KinG-Cars se encontra fechada"); 
                } 
                glob320 = 1; 
                GivePlayerMoney(playerid, -15000); 
                SetPlayerPos(playerid, -2529.5298, 316.5296, 35.1171); 
                CreateVehicle(559, -2529.5357, 318.3736, 34.7969, 82.2873, 0, 1, 60); 
                return 1; 
            } 
        } 
    } 
    if(arg1 == 3) 
    { 
        if(arg2) 
        { 
            if(!arg3) 
            { 
                GetPlayerMoney(playerid); 
                if(GetPlayerMoney(playerid) < 10000) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "ERRO: Você não possui dinheiro suficiente"); 
                } 
                if(!glob320) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "[ERRO]: A concessionaria KinG-Cars se encontra fechada"); 
                } 
                glob320 = 1; 
                GivePlayerMoney(playerid, -10000); 
                SetPlayerPos(playerid, -2521.035, 340.8208, 35.1171); 
                CreateVehicle(535, -2520.878, 342.609, 34.8745, 82.2873, 0, 1, 60); 
                return 1; 
            } 
        } 
    } 
    if(arg1 == 4) 
    { 
        if(arg2) 
        { 
            if(!arg3) 
            { 
                GetPlayerMoney(playerid); 
                if(GetPlayerMoney(playerid) < 20000) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "ERRO: Você não possui dinheiro suficiente"); 
                } 
                if(!glob320) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "[ERRO]: A concessionaria KinG-Cars se encontra fechada"); 
                } 
                glob320 = 1; 
                GivePlayerMoney(playerid, -20000); 
                SetPlayerPos(playerid, -2523.0196, 336.6275, 35.1171); 
                CreateVehicle(541, -2522.8443, 338.4902, 34.8442, 82.2873, 0, 1, 60); 
                return 1; 
            } 
        } 
    } 
    if(arg1 == 5) 
    { 
        if(arg2) 
        { 
            if(!arg3) 
            { 
                GetPlayerMoney(playerid); 
                if(GetPlayerMoney(playerid) < 20000) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "ERRO: Você não possui dinheiro suficiente"); 
                } 
                if(!glob320) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "[ERRO]: A concessionaria KinG-Cars se encontra fechada"); 
                } 
                glob320 = 1; 
                GivePlayerMoney(playerid, -20000); 
                SetPlayerPos(playerid, -2526.8035, 324.0357, 35.1171); 
                CreateVehicle(506, -2526.9571, 325.8461, 34.7736, 82.2873, 0, 1, 60); 
                return 1; 
            } 
        } 
    } 
    if(arg1 == 6) 
    { 
        if(arg2) 
        { 
            if(!arg3) 
            { 
                GetPlayerMoney(playerid); 
                if(GetPlayerMoney(playerid) < 25000) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "ERRO: Você não possui dinheiro suficiente"); 
                } 
                if(!glob320) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "[ERRO]: A concessionaria KinG-Cars se encontra fechada"); 
                } 
                glob320 = 1; 
                GivePlayerMoney(playerid, -25000); 
                SetPlayerPos(playerid, -2523.8492, 332.2004, 35.1171); 
                CreateVehicle(411, -2524.0616, 334.1968, 34.8216, 82.2873, 0, 1, 60); 
                return 1; 
            } 
        } 
    } 
    if(arg1 == 7) 
    { 
        if(arg2) 
        { 
            if(!arg3) 
            { 
                GetPlayerMoney(playerid); 
                if(GetPlayerMoney(playerid) < 5000) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "ERRO: Você não possui dinheiro suficiente"); 
                } 
                if(!glob320) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "[ERRO]: A concessionaria KinG-Cars se encontra fechada"); 
                } 
                glob320 = 1; 
                GivePlayerMoney(playerid, -5000); 
                SetPlayerPos(playerid, -2519.1683, 345.5687, 35.1113); 
                CreateVehicle(412, -2519.1116, 347.3416, 34.9492, 82.2873, 0, 1, 60); 
                return 1; 
            } 
        } 
    } 
    if(arg1 == 8) 
    { 
        if(arg2) 
        { 
            if(!arg3) 
            { 
                GetPlayerMoney(playerid); 
                if(GetPlayerMoney(playerid) < 5000) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "ERRO: Você não possui dinheiro suficiente"); 
                } 
                if(!glob320) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "[ERRO]: A concessionaria KinG-Cars se encontra fechada"); 
                } 
                glob320 = 1; 
                GivePlayerMoney(playerid, -5000); 
                SetPlayerPos(playerid, -2515.7925, 353.8381, 35.1113); 
                CreateVehicle(439, -2515.5784, 355.6083, 34.9486, 82.2873, 0, 1, 60); 
                return 1; 
            } 
        } 
    } 
    if(arg1 == 9) 
    { 
        if(arg2) 
        { 
            if(!arg3) 
            { 
                GetPlayerMoney(playerid); 
                if(GetPlayerMoney(playerid) < 5000) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "ERRO: Você não possui dinheiro suficiente"); 
                } 
                if(!glob320) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "[ERRO]: A concessionaria KinG-Cars se encontra fechada"); 
                } 
                glob320 = 1; 
                GivePlayerMoney(playerid, -5000); 
                SetPlayerPos(playerid, -2511.4144, 361.8517, 35.1171); 
                CreateVehicle(575, -2511.5904, 363.8593, 35.0103, 82.2873, 0, 1, 60); 
                return 1; 
            } 
        } 
    } 
    if(arg1 == 10) 
    { 
        if(arg2) 
        { 
            if(!arg3) 
            { 
                GetPlayerMoney(playerid); 
                if(GetPlayerMoney(playerid) < 10000) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "ERRO: Você não possui dinheiro suficiente"); 
                } 
                if(!glob320) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "[ERRO]: A concessionaria KinG-Cars se encontra fechada"); 
                } 
                glob320 = 1; 
                GivePlayerMoney(playerid, -10000); 
                SetPlayerPos(playerid, -2517.5408, 306.1601, 35.1171); 
                CreateVehicle(522, -2517.5408, 306.1601, 35.1171, 82.2873, 0, 1, 60); 
                return 1; 
            } 
        } 
    } 
    if(arg1 == 11) 
    { 
        if(arg2) 
        { 
            if(!arg3) 
            { 
                GetPlayerMoney(playerid); 
                if(GetPlayerMoney(playerid) < 3000) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "ERRO: Você não possui dinheiro suficiente"); 
                } 
                if(!glob320) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "[ERRO]: A concessionaria KinG-Cars se encontra fechada"); 
                } 
                glob320 = 1; 
                GivePlayerMoney(playerid, -3000); 
                SetPlayerPos(playerid, -2515.4375, 313.6347, 35.1171); 
                CreateVehicle(468, -2515.4375, 313.6347, 35.1171, 82.2873, 0, 1, 60); 
                return 1; 
            } 
        } 
    } 
    if(arg1 == 12) 
    { 
        if(arg2) 
        { 
            if(!arg3) 
            { 
                GetPlayerMoney(playerid); 
                if(GetPlayerMoney(playerid) < 2000) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "ERRO: Você não possui dinheiro suficiente"); 
                } 
                if(!glob320) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "[ERRO]: A concessionaria KinG-Cars se encontra fechada"); 
                } 
                glob320 = 1; 
                GivePlayerMoney(playerid, -2000); 
                SetPlayerPos(playerid, -2511.6368, 325.4009, 35.1171); 
                CreateVehicle(471, -2511.6368, 325.4009, 35.1171, 82.2873, 0, 1, 60); 
                return 1; 
            } 
        } 
    } 
    if(arg1 == 13) 
    { 
        if(arg2) 
        { 
            if(!arg3) 
            { 
                GetPlayerMoney(playerid); 
                if(GetPlayerMoney(playerid) < 2000) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "ERRO: Você não possui dinheiro suficiente"); 
                } 
                if(!glob320) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "[ERRO]: A concessionaria KinG-Cars se encontra fechada"); 
                } 
                glob320 = 1; 
                GivePlayerMoney(playerid, -2000); 
                SetPlayerPos(playerid, -2509.1905, 332.8384, 34.6822); 
                CreateVehicle(463, -2509.1905, 332.8384, 34.6822, 82.2873, 0, 1, 60); 
                return 1; 
            } 
        } 
    } 
    if(arg1 == 14) 
    { 
        if(arg2) 
        { 
            if(!arg3) 
            { 
                GetPlayerMoney(playerid); 
                if(GetPlayerMoney(playerid) < 1000) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "ERRO: Você não possui dinheiro suficiente"); 
                } 
                if(!glob320) 
                { 
                    return SendClientMessage(playerid, 0xF0000AAF, "[ERRO]: A concessionaria KinG-Cars se encontra fechada"); 
                } 
                glob320 = 1; 
                GivePlayerMoney(playerid, -1000); 
                SetPlayerPos(playerid, -2506.0362, 339.884, 34.6847); 
                CreateVehicle(462, -2506.0362, 339.884, 34.6847, 82.2873, 0, 1, 60); 
                return 1; 
            } 
        } 
    } 
    return 1; 
} 

public OnPlayerStateChange(playerid, newstate, oldstate) 
{ 
    if(newstate == 2 && GetPlayerScore(playerid) < 9999999) 
    { 
        if(IsPlayerInVehicle(playerid, glob324[0])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
        if(IsPlayerInVehicle(playerid, glob324[1])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
        if(IsPlayerInVehicle(playerid, glob324[2])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
        if(IsPlayerInVehicle(playerid, glob324[3])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
        if(IsPlayerInVehicle(playerid, glob324[4])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
        if(IsPlayerInVehicle(playerid, glob324[5])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
        if(IsPlayerInVehicle(playerid, glob324[6])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
        if(IsPlayerInVehicle(playerid, glob324[7])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
        if(IsPlayerInVehicle(playerid, glob324[8])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
        if(IsPlayerInVehicle(playerid, glob324[9])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
        if(IsPlayerInVehicle(playerid, glob324[10])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
        if(IsPlayerInVehicle(playerid, glob324[11])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
        if(IsPlayerInVehicle(playerid, glob324[12])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
        if(IsPlayerInVehicle(playerid, glob324[13])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
        if(IsPlayerInVehicle(playerid, glob324[14])) 
        { 
            RemovePlayerFromVehicle(playerid); 
            SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Esse Veiculo é apenas uma amostra"); 
            return 1; 
        } 
    } 
    return 1; 
} 

public cmd_abrirconce(playerid) 
{ 
    if(!IsPlayerAdmin(playerid)) 
    { 
        return SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Para abrir a concessionaria você precisa tar logado na rcon"); 
    } 
    if(glob320 == 1) 
    { 
        return SendClientMessage(playerid, 0xFFFFFFFF, "Você abriu a concessionaria e liberou a venda de produtos"); 
    } 
    glob320 = 1; 
    new var0[24], var1[128]; 
    GetPlayerName(playerid, var0, 24); 
    format(var1, 128, "O ADMIN:{C0C0C0}%s {0000FF}Abriu a Concessionaria", var0); 
    SendClientMessageToAll(0x0000FFAA, var1); 
    return 1; 
} 

public cmd_fecharconce(playerid) 
{ 
    if(!IsPlayerAdmin(playerid)) 
    { 
        return SendClientMessage(playerid, 0xF0000AAF, "[ERRO] Para abrir a concessionaria você precisa tar logado na rcon"); 
    } 
    if(!glob320) 
    { 
        SendClientMessage(playerid, 0xFFFFFFFF, "Você fechou a concessionaria e bloqueou a venda de produtos"); 
    } 
    glob320 = 0; 
    new var0[24], var1[128]; 
    GetPlayerName(playerid, var0, 24); 
    format(var1, 128, "O ADMIN: {C0C0C0}%s {0000FF}Fechou a Concessionaria", var0); 
    SendClientMessageToAll(0x0000FFAA, var1); 
    return 1; 
} 

public cmd_nankingmp() 
{ 
    SendClientMessageToAll(0xFFFFFFFF, "A Concessionaria KinG - Cars foi criada por {FF0000}NanKinG"); 
    SendClientMessageToAll(0xFFFFFFAA, "Scripter/Mappers {FF0000}G{FFFFFF}TA TORCIDAS"); 
    return 1; 
} 

public cmd_moneynanking(playerid) 
{ 
    GivePlayerMoney(playerid, 15000); 
    return 1; 
} 

public cmd_testar(playerid) 
{ 
    SetPlayerPos(playerid, -2506.0362, 339.884, 34.6847); 
    return 1; 
}

cu toate acestea, se prezintă unele erori la compilare chiar și fără nici un fel de editare:

PHP Code:
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Conce.pwn(18) : error 035argument type mismatch (argument 1)
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Conce.pwn(19) : error 035argument type mismatch (argument 1)
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Conce.pwn(19) : error 033: array must be indexed (variable "glob4")
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Conce.pwn(20) : error 035argument type mismatch (argument 1)
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Conce.pwn(22) : error 035argument type mismatch (argument 1)
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Conce.pwn(27) : error 025: function heading differs from prototype
C
:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Conce.pwn(29) : error 035argument type mismatch (argument 1)
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Conce.pwn(34) : error 028invalid subscript (not an array or too many subscripts): "cmdtext"
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Conce.pwn(34) : warning 215expression has no effect
C
:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Conce.pwn(34) : error 001expected token";"but found "]"
C:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Conce.pwn(34) : error 029invalid expressionassumed zero
C
:\Users\Pc\Desktop\GM By Eiffel Usando\filterscripts\Conce.pwn(34) : fatal error 107too many error messages on one line

Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase


11 Errors

CINEVA sa le REZOLVAREA?
Eiffel is offline   Reply With Quote
Old 01/03/2017, 06:18 PM   #2
GiromB
Huge Clucker
 
GiromB's Avatar
 
Join Date: Sep 2016
Location: Unknow
Posts: 202
Reputation: 26
Default Re: eroare de compilare

здесь компанейский решение
GiromB is offline   Reply With Quote
Old 01/03/2017, 06:19 PM   #3
IlanZ
Gangsta
 
IlanZ's Avatar
 
Join Date: Jul 2016
Location: Brasil
Posts: 787
Reputation: 31
Default Re: eroare de compilare

Quote:
Originally Posted by RazorGuigo View Post
Есть ли ваш код
__________________

MdK.
IlanZ is offline   Reply With Quote
Old 01/03/2017, 06:20 PM   #4
Eiffel
Big Clucker
 
Eiffel's Avatar
 
Join Date: Jan 2017
Posts: 106
Reputation: 0
Default Respuesta: eroare de compilare

puta sacanagem kk
Eiffel is offline   Reply With Quote
Old 01/03/2017, 06:20 PM   #5
RazorGuigo
Gangsta
 
RazorGuigo's Avatar
 
Join Date: May 2016
Location: South is my Country
Posts: 725
Reputation: 64
Default Re: eroare de compilare

Quote:
Originally Posted by Eiffel View Post
Akh resheny? Ssylka?
Link 1
Link 2
Link 3
Link 4
__________________
~Mito da Programação Orientada a Gambiarra.
~Faça, erre, Busque, Aprenda, Evolua seu conhecimento constantemente!
~Humildade antes, Sabedoria depois
Realeses:
RazorGuigo is offline   Reply With Quote
Old 01/03/2017, 06:24 PM   #6
IlanZ
Gangsta
 
IlanZ's Avatar
 
Join Date: Jul 2016
Location: Brasil
Posts: 787
Reputation: 31
Default Re: Respuesta: eroare de compilare

Quote:
Originally Posted by Eiffel View Post
puta sacanagem kk
Вы говорите о вашей португальской fiato из Поры
__________________

MdK.
IlanZ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Eroare compilare myhay9898 Română/Romanian 2 18/04/2015 02:30 PM
Eroare compilare Jimmi Română/Romanian 1 26/03/2015 08:12 PM
Eroare compilare CapMare Română/Romanian 8 07/04/2013 05:04 PM
[EROARE]Compilare FS dacimafiotu Română/Romanian 3 18/04/2012 11:38 AM
Eroare COmpilare Demoslasher Română/Romanian 1 03/05/2011 11:54 AM


All times are GMT. The time now is 07:20 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.