[Ajuda] AntFlod
#1

Linha do Erro:
pawn Код:
if(Flood[playerid] < gettime()) return SendClientMessage(playerid, -1, "Aguarde "FLOOD_SEGUNDOS" segundos.");

Erros:
pawn Код:
C:\Users\Richard\Desktop\GameMode_Bloody_Vegas_-_Striker_Samp\[GameMode] Bloody Vegas - Striker Samp\Bloody Vegas - Striker Samp\gamemodes\E.z.pwn(5579) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Richard\Desktop\GameMode_Bloody_Vegas_-_Striker_Samp\[GameMode] Bloody Vegas - Striker Samp\Bloody Vegas - Striker Samp\gamemodes\E.z.pwn(5579) : warning 215: expression has no effect
C:\Users\Richard\Desktop\GameMode_Bloody_Vegas_-_Striker_Samp\[GameMode] Bloody Vegas - Striker Samp\Bloody Vegas - Striker Samp\gamemodes\E.z.pwn(5579) : error 001: expected token: ";", but found "-string-"
C:\Users\Richard\Desktop\GameMode_Bloody_Vegas_-_Striker_Samp\[GameMode] Bloody Vegas - Striker Samp\Bloody Vegas - Striker Samp\gamemodes\E.z.pwn(5579) : warning 215: expression has no effect
C:\Users\Richard\Desktop\GameMode_Bloody_Vegas_-_Striker_Samp\[GameMode] Bloody Vegas - Striker Samp\Bloody Vegas - Striker Samp\gamemodes\E.z.pwn(5579) : error 001: expected token: ";", but found ")"
C:\Users\Richard\Desktop\GameMode_Bloody_Vegas_-_Striker_Samp\[GameMode] Bloody Vegas - Striker Samp\Bloody Vegas - Striker Samp\gamemodes\E.z.pwn(5579) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Reply
#2

pawn Код:
if(Flood[playerid] < gettime()) return SendClientMessage(playerid, -1, "Aguarde %d segundos.", FLOOD_SEGUNDOS);
Reply
#3

Quote:
Originally Posted by Gleisson_.
Посмотреть сообщение
pawn Код:
if(Flood[playerid] < gettime()) return SendClientMessage(playerid, -1, "Aguarde %d segundos.", FLOOD_SEGUNDOS);
Nossa --'

Se mate por favor


O certo:
pawn Код:
if(Flood[playerid] < gettime())
{
    static Str[30];
    format(Str, sizeof(Str), "Aguarde %d Segundos.", FLOOD_SEGUNDOS);
    SendClientMessage(playerid, -1, Str);
    return true;
}
Reply
#4

Quote:
Originally Posted by EditPawn
Посмотреть сообщение
Nossa --'

Se mate por favor


O certo:
pawn Код:
if(Flood[playerid] < gettime())
{
    static Str[30];
    format(Str, sizeof(Str), "Aguarde %d Segundos.", FLOOD_SEGUNDOS);
    SendClientMessage(playerid, -1, Str);
    return true;
}
Nгo prestei atenзгo.. , tava em um site aqui.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)