Jump to content
  • 0

Problema /job


calin1996

Question

[pawn] if (strcmp(cmd, "/job", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

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

        if(IsACop(playerid))

{

new x_nr[256];

x_nr = strtok(cmdtext, idx);

if(!strlen(x_nr))

{

SendClientMessage(playerid, COLOR_WHITE, "UTILIZEAZA: /job [Avocat,Mecanic,etc.]");

return 1;

}

if(strcmp(x_nr,"Avocat",true) == 0)

{

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

{

if (GetPlayerState(playerid) == 1 && PlayerToPoint(3.0, playerid,671.5444,-520.1309,16.3359))

  {

  GettingJob[playerid] = 2;

  }

  else

  {

      SendClientMessage(playerid, COLOR_GREY, "  Nu esti la un job !");

  }

}

else

{

    SendClientMessage(playerid, COLOR_GREY, "  Ai deja un job, scrie /quitjob pentru a renunta la job !");

}

}//not connected

    return 1;

}[/pawn]

Si erorile sunt:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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(2417) : error 004: function "ClearChatbox" is not implemented

D:\lucru\1_3_samp\1.3 samp\gamemodes\lucru.pwn(2435) : 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(2478) : error 004: function "ClearChatbox" is not implemented

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

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

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

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

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

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

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

26 Errors.

[/pawn]

Vreo sugestie??:((

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

ca sa mai "Remediezi putin "problema apasa ctrl+z si este ca un "undo" adica iti pune la loc ce ai sters. asta doar daca nu ai inchis pawno-ul dupa ce ti-a dat eroarea si vezi ca problema este de la junkbuster baga ultima versiune si vezi daca mai ai probleme

Am facut treaba asta si pana sa nu pun comanda nu facea asa ...

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.