Jump to content
  • 0

Erori JB la compilarte daca adaug ceva mai complex in PWN


calin1996

Question

[pawn] if(!strcmp(cmd, "/banking", true))

{

    if(IsPlayerConnected(playerid))

    {

    format(coordsstring, sizeof(coordsstring),"____________________| %s |____________________",name);

SendClientMessage(playerid, COLOR_GREEN,coordsstring);

        format(coordsstring, sizeof(coordsstring), "Nivel:[%d] Sex:[%s] Varsta:[%d] Telefon:[%d] Nivel-Donator:[%s]", level,atext,age,pnumber,drank);

        format(coordsstring, sizeof(coordsstring), "Factura E-ON: - %d RON Dobanda: 0.%d \%", ebill,tmpintrate);

format(coordsstring, sizeof(coordsstring), "Bani in portofel %d RON Bani in banca + %d RON Total %d RON]", banigramada,banibanca,totalsold);

SendClientMessage(playerid, COLOR_GRAD6,coordsstring);

SendClientMessage(playerid, COLOR_GREEN,"___________________________________________________________");

}

}[/pawn]

Asta e comanda adaugata

[pawn]D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1503) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1521) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1546) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1572) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1589) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1615) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1624) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1634) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1913) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(2086) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(2642) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(2666) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(2685) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(2956) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(3109) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(3250) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2318) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2329) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2347) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2358) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2390) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2406) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2420) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2433) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2446) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2459) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2470) : error 004: function "ClearChatbox" is not implemented

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

26 Errors.

[/pawn]

Si astea sunt erorile,ceva sugestii?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

if(!strcmp(cmd, "/banking", true))

{

    if(IsPlayerConnected(playerid))

    {

    format(coordsstring, sizeof(coordsstring),"____________________| %s |____________________",name);

SendClientMessage(playerid, COLOR_GREEN,coordsstring);

        format(coordsstring, sizeof(coordsstring), "Nivel:[%d] Sex:[%s] Varsta:[%d] Telefon:[%d] Nivel-Donator:[%s]", level,atext,age,pnumber,drank);

        format(coordsstring, sizeof(coordsstring), "Factura E-ON: - %d RON Dobanda: 0.%d \%", ebill,tmpintrate);

format(coordsstring, sizeof(coordsstring), "Bani in portofel %d RON Bani in banca + %d RON Total %d RON]", banigramada,banibanca,totalsold);

SendClientMessage(playerid, COLOR_GRAD6,coordsstring);

SendClientMessage(playerid, COLOR_GREEN,"___________________________________________________________");

}

}[/pawn]

Asta e comanda adaugata

[pawn]D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1503) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1521) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1546) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1572) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1589) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1615) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1624) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1634) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(1913) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(2086) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(2642) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(2666) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(2685) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(2956) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(3109) : error 004: function "JB_Ban" is not implemented

D:\lucru\1_3_samp\1.3 samp\pawno\include\JunkBuster.inc(3250) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2318) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2329) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2347) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2358) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2390) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2406) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2420) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2433) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2446) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2459) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2470) : error 004: function "ClearChatbox" is not implemented

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

26 Errors.

[/pawn]

Si astea sunt erorile,ceva sugestii?

1:iati cea mai noua versiune JunkBuster

2:ClearChatbox iati-l din nou[adica sa iei comanda dupa net /clearchat sau /cc]

[pawn]

if(strcmp(cmd, "/clearchat", true) == 0 || strcmp(cmd, "/cc", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

    if (PlayerInfo[playerid][pAdmin] >= 1 )

{

    if(PlayerInfo[playerid][pAdmin] == 0)

{

                                for(new i = 0; i < 100; i++)

SendClientMessage(playerid,COLOR_WHITE," ");

                                }

GetPlayerName(playerid, sendername, sizeof(sendername));

                              format(string, sizeof(string), "AdmCmd:%s has cleared the chat.", sendername);

    ABroadCast(COLOR_LIGHTRED,string,1);

    return 1;

           

}

else

{

SendClientMessage(playerid, -1, "{F81414}[DENIED]:{FFFFFF} You are not authorized to use that command!");

  }

}

                else

                {

SendClientMessage(playerid, COLOR_GRAD1, "  You are not Logged in !");

                }

return 1;

}

sau aici pe sa-mp.com http://forum.sa-mp.com/showthread.php?t=135512

admindi.gif
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.