[Ajuda]Pawn Compile Library parou de funcionar
#1

eu tava codando e compilei e deu Pawn Compile Library parou de funcionar tem um topico que diz que й as chaves eu vo mandar a ultima atualizaзгo que eu fiz

pawn Код:
//////////////////////////Comandos Cidadгos//////////////////////
    if(strcmp(cmdtext, "/armas", true) == 0)
 {
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Armas", " 25 balas de Sniper ($5000) /sniper\n100 balas de M4 ($3000) /m4\n100 balas de MP5 ($2000) /mp5\n50 balas de Shotgun ($2000) /shotgun", "Ok", "Cancelar");
return 1;
}

    if(strcmp(cmdtext, "/comandos", true) == 0)
 {
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Armas", " 25 balas de Sniper ($5000) /sniper\n100 balas de M4 ($3000) /m4\n100 balas de MP5 ($2000) /mp5\n50 balas de Shotgun ($2000) /shotgun", "Ok", "Cancelar");
return 1;
}
pawn Код:
if(strcmp(cmdtext, "/comandosfg", true) == 0)
if(pClass[playerid] == 0..3{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "Comandos Fogueteiro", "/FoguetePM - Avisa aos traficantes que os PMs estгo subindo a Favela\n /FogueteBope - Avisa que o BOPE esta subindo a Favela\n /FogueteExercito - Avisa aos traficantes que o Exercito esta subindo a Favela \n /FogueteDroga - Avisa que a droga esta pronta\n", "Ok", "Cancelar");
return 1;
}





    if(!strcmp(cmd,"/foguetepm",true)){
if(pClass[playerid] == 0..3){
    new M[100];
    new pname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(M, sizeof(M), "O Fogueteiro %s Avisa aos Traficantes: Os pms estгo subindo a favela", pname);
        SendClientMessageToAll(0xFFFFFFAA, M);

new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
default: SendClientMessage(playerid, -1, "Vocк nгo й um Fogueteiro");
return 1;
}
   
if(!strcmp(cmd,"/foguetebope",true)){
if(pClass[playerid] == 0..3){
    new M[100];
    new pname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(M, sizeof(M), "O Fogueteiro %s Avisa aos Traficantes: O Bope esta subindo a favela", pname);
        SendClientMessageToAll(0xFFFFFFAA, M);
        }
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
default: SendClientMessage(playerid, -1, "Vocк nгo й um Fogueteiro");
    }
return 1;
}

if(!strcmp(cmd,"/fogueteexercito",true)){
if(pClass[playerid] == 0..3){
    new M[100];
    new pname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(M, sizeof(M), "O Fogueteiro %s Avisa aos Traficantes: O Exercito esta subindo a favela", pname);
        SendClientMessageToAll(0xFFFFFFAA, M);
        }
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
default: SendClientMessage(playerid, -1, "Vocк nгo й um Fogueteiro");
    }
return 1;
}
   
   
if(!strcmp(cmd,"/foguetedroga",true)){
if(pClass[playerid] == 0..3){
    new M[100];
    new pname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(M, sizeof(M), "O Fogueteiro %s Avisa aos Traficantes: A Droga esta pronta", pname);
        SendClientMessageToAll(0xFFFFFFAA, M);
        }
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
default: SendClientMessage(playerid, -1, "Vocк nгo й um Fogueteiro");
    }
return 1;
}
pawn Код:
if(strcmp(cmd, "/algemar", true) == 0) {
   if(pClass[playerid] == 10..13 || pClass[playerid] == 14..16 || pClass[playerid] == 17..20){
      new name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
      new string[128];
      new tmp[256];
        new plid;
        tmp = strtok(cmdtext, idx);
        if(!strlen(tmp)){
          SendClientMessage(playerid, 0xF52D0AAA, "/algemar [id]");
            return 1;
            }
            plid = strval(tmp);
            if(!IsPlayerConnected(plid)){
              SendClientMessage(playerid, 0xF52D0AAA, "[ERRO] O jogador nгo estб conectado");
            return 1;
            } else {
              if(GetDistanceBetweenPlayers(plid,playerid) < 21){
                SendClientMessage(playerid, 0x5CAE51AA, "[INFO] Algemado com sucesso!");
          format(string, sizeof(string), "[INFO] Vocк foi algemado por %s ", name);
          SendClientMessage(plid, 0xF8DA07AA, string);
          TogglePlayerControllable(playerid,0);
          SetTimerEx("Algemar2",15000,false,"i",playerid);
                return 1;
                } else {
                  SendClientMessage(playerid,0xF52D0AAA,"[ERRO] Chegue mais perto para poder algemar!");
                return 1;
                }
            }
        } else {
          SendClientMessage(playerid,0xF52D0AAA," Vocк nгo й Policial!");
        return 1;
        }
    }
   
   
    if(strcmp(cmd, "/avisarpms", true) == 0)
       if(pClass[playerid] == 10..13 || pClass[playerid] == 14..16 || pClass[playerid] == 17..20){
{
if(IsPlayerConnected(playerid))
{
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR, "Forma Correta: /avisarpms [aviso]");
return 1;
}
{
GetPlayerName(playerid, aName, sizeof(aName));
format(string, sizeof(string), "* O Policial %s avisa a todos: %s",aName,cmdtext[6]);
SendClientMessageToAll(AAZUL,string);
}
return 1;
}
}



    if(strcmp(cmd, "/avisarforajido", true) == 0)
       if(pClass[playerid] == 10..13 || pClass[playerid] == 14..16 || pClass[playerid] == 17..20){
{
if(IsPlayerConnected(playerid))
{
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR, "Forma Correta: /avisarpms [aviso]");
return 1;
}
{
GetPlayerName(playerid, aName, sizeof(aName));
format(string, sizeof(string), "* O Policial %s avisa a todos: %s",aName,cmdtext[6]);
SendClientMessageToAll(AAZUL,string);
}
return 1;
}
}
Porfavor concerte o codigo dou +REP
Reply
#2

Identaзгo nessa бrea estб errada, nгo?
pawn Код:
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
Reply
#3

Quote:
Originally Posted by After
Посмотреть сообщение
Identaзгo nessa бrea estб errada, nгo?
pawn Код:
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
CreateExplosion(x,y,z+12,10,100);
me lembro que dps q terminei essa parte compilo na boa
Reply
#4

pawn Код:
if(!strcmp(cmd,"/foguetebope",true)){
if(pClass[playerid] == 0..3)
  {
    new M[100];
    new pname[MAX_PLAYER_NAME];
       {
        GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
        format(M, sizeof(M), "O Fogueteiro %s Avisa aos Traficantes: O Bope esta subindo a favela", pname);
        SendClientMessageToAll(0xFFFFFFAA, M);
        }
Vocк botou uma chave junto com uma 'new' troque esse pelo atual.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)