[Ajuda] TextDraw Prisгo
#3

Nгo deu certo...

- Tive que tirar uma linha senгo tava dando erro que nгo conseguia arrumar.

pawn Код:
if(strfind(text, "pica", true) != -1 || strfind(text, "fdp", true) != -1 || strfind(text, "f.d.p", true) != -1 || strfind(text, "f.dp", true) != -1 || strfind(text, "f.dp", true) != -1 || strfind(text, "Vtnc", true) != -1 || strfind(text, "Vai toma no cu", true) != -1 || strfind(text, "FDP", true) != -1 || strfind(text, "Adm Noob", true) != -1 || strfind(text, "FDP", true) != -1 || strfind(text, "Server Lixo", true) != -1 || strfind(text, "Filho da puta", true) != -1)
{
    new string[256];
    new pname[MAX_PLAYER_NAME];
    SendClientMessage(playerid,Vermelho,"{0099FF}|Player|{CCCCFF} Vocк foi avisado por chingar");
    SendClientMessage(playerid,Vermelho,"{0099FF}|Player|{CCCCFF} Ao receber 5 avisos vocк serб preso por 12 Minutos");
    format(string, sizeof(string), "{0099FF}|BLC Admin|{CCCCFF} O Adminstrador [L.M]Guardiao Avisou o jogador %s ( Motivo: Chingamento )(%d/5)" ,PlayerName(playerid),aviso[playerid]);
    SendClientMessageToAll(Vermelho, string);
    aviso[playerid]+=1;
    if(aviso[playerid] >= 5) {
        format(string, sizeof(string), "|BLC Admin| O Administrador [L.M]Guardiao Prendeu o jogador %s por 12 minutos ( Motivo: Chingamentos 5/5 )",pname);
        SendClientMessageToAll(Amarelo, string);
        SetPlayerPos(playerid, 263.8820,77.4002,1001.0391);
        SetPlayerInterior(playerid, 6);
        SetPlayerHealth(playerid, 99999);
        ResetPlayerWeapons(playerid);
        format(file2, sizeof(file2), PASTA_CONTAS, pname);
        dini_IntSet(file2, "Preso", 1);
        //SetTimerEx("SairCadeia", 720000, false, "i", playerid);
        TempContPreso [ playerid ] = SetTimerEx ( "xConttPreso", 1000, 1, "i", playerid ) ;
//      ContPreso [ playerid ] = SairCadeia * 60 ;
    }
}
A Linha й:

Quote:

ContPreso [ playerid ] = SairCadeia * 60 ;

e o erro:

Quote:

syntax error in the expression, or invalid function call.

E tem isso tambйm

pawn Код:
forward SairCadeia(playerid);


public SairCadeia(playerid) {
      new file2[100];
      format(file2, sizeof(file2), P_CONTAS, pname);
      dini_IntSet(file2, "Preso", 0);
      aviso[playerid] = 0;
      SpawnPlayer(playerid);
      return 1;
}
Reply


Messages In This Thread
TextDraw Prisгo - by DevilAgain - 19.04.2013, 20:00
Re: TextDraw Prisгo - by smiiir - 19.04.2013, 20:04
Re: TextDraw Prisгo - by DevilAgain - 19.04.2013, 22:00
Re: TextDraw Prisгo - by DevilAgain - 20.04.2013, 02:58
Re: TextDraw Prisгo - by smiiir - 20.04.2013, 03:08
Re: TextDraw Prisгo - by DevilAgain - 23.04.2013, 14:54
Re: TextDraw Prisгo - by DevilAgain - 23.04.2013, 21:07
Re: TextDraw Prisгo - by smiiir - 24.04.2013, 09:05
Re: TextDraw Prisгo - by DevilAgain - 24.04.2013, 14:42
Re: TextDraw Prisгo - by WotusPower - 01.05.2013, 14:51

Forum Jump:


Users browsing this thread: 1 Guest(s)