[ajuda] 4erros em 1 linha :@
#1

erros
pawn Код:
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2379) : error 001: expected token: ")", but found "["
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2379) : error 029: invalid expression, assumed zero
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2379) : warning 215: expression has no effect
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2379) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2379) : 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.
Linha
pawn Код:
if (APlayerData[playerid][BanTime] < gettime())
Funзao da Linha
pawn Код:
if (PlayerFile_Load(playerid) == 1)
    {
    if (APlayerData[playerid][BanTime] < gettime())
    ShowPlayerDialog(playerid, DialogLogin, DIALOG_STYLE_INPUT, TXT_DialogLoginTitle, TXT_DialogLoginMsg, TXT_DialogLoginButton1, TXT_DialogButtonCancel);
        else
        {
            ShowRemainingBanTime(playerid);
            Kick(playerid);
        }
    }
    else
        ShowPlayerDialog(playerid, DialogRegister, DIALOG_STYLE_INPUT, TXT_DialogRegisterTitle, TXT_DialogRegisterMsg, TXT_DialogRegisterButton1, TXT_DialogButtonCancel);
Reply
#2

pawn Код:
if ( PlayerFile_Load ( playerid ) == 1 )
{
    if ( APlayerData [ playerid ] [ BanTime ] < gettime( ) )
    {
        ShowPlayerDialog ( playerid, DialogLogin, DIALOG_STYLE_INPUT, TXT_DialogLoginTitle, TXT_DialogLoginMsg, TXT_DialogLoginButton1, TXT_DialogButtonCancel ) ;
    }
    else
    {
        ShowRemainingBanTime ( playerid ) ;
        Kick ( playerid ) ;
    }
        else
            ShowPlayerDialog ( playerid, DialogRegister, DIALOG_STYLE_INPUT, TXT_DialogRegisterTitle, TXT_DialogRegisterMsg, TXT_DialogRegisterButton1, TXT_DialogButtonCancel ) ;
}
Reply
#3

pawn Код:
if (PlayerFile_Load(playerid) == 1)
    {
    if (APlayerData[playerid][BanTime] < gettime()) return ShowPlayerDialog(playerid, DialogLogin, DIALOG_STYLE_INPUT, TXT_DialogLoginTitle, TXT_DialogLoginMsg, TXT_DialogLoginButton1, TXT_DialogButtonCancel);
        else
        {
            ShowRemainingBanTime(playerid);
            Kick(playerid);
        }
    }
    else return ShowPlayerDialog(playerid, DialogRegister, DIALOG_STYLE_INPUT, TXT_DialogRegisterTitle, TXT_DialogRegisterMsg, TXT_DialogRegisterButton1, TXT_DialogButtonCancel);
Reply
#4

Nenhum Dos Dois Deu Fico Dando O Msm Erro
Reply
#5

tenta:

pawn Код:
if (PlayerFile_Load(playerid) == 1)
    {
    if (APlayerData(playerid)[BanTime] < gettime()) return ShowPlayerDialog(playerid, DialogLogin, DIALOG_STYLE_INPUT, TXT_DialogLoginTitle, TXT_DialogLoginMsg, TXT_DialogLoginButton1, TXT_DialogButtonCancel);
        else
        {
            ShowRemainingBanTime(playerid);
            Kick(playerid);
        }
    }
    else return ShowPlayerDialog(playerid, DialogRegister, DIALOG_STYLE_INPUT, TXT_DialogRegisterTitle, TXT_DialogRegisterMsg, TXT_DialogRegisterButton1, TXT_DialogButtonCancel);
Reply
#6

pawn Код:
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2272) : error 017: undefined symbol "GameModeInit_VehiclesPickups"
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2273) : error 017: undefined symbol "GameModeInit_Classes"
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2275) : error 017: undefined symbol "Convoys_Init"
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2292) : error 017: undefined symbol "FixHouses"
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2370) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2377) : error 017: undefined symbol "PlayerFile_Load"
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2390) : error 017: undefined symbol "PlayerFile_Load"
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2392) : error 001: expected token: ")", but found "["
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2392) : error 029: invalid expression, assumed zero
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2392) : warning 215: expression has no effect
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2392) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\mau tito\Desktop\TOB ARRUMADO\gamemodes\PPC_Trucking.pwn(2392) : fatal error 107: too many error messages on one line

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


11 Errors.
Reply
#7

pawn Код:
if(PlayerFile_Load(playerid) == 1)
    {
        if(APlayerData[playerid][BanTime] < gettime())
        {
            ShowPlayerDialog(playerid, DialogLogin, DIALOG_STYLE_INPUT, TXT_DialogLoginTitle, TXT_DialogLoginMsg, TXT_DialogLoginButton1, TXT_DialogButtonCancel);
        }
        else
        {
            ShowRemainingBanTime(playerid);
            Kick(playerid);
        }
    }
    else
    {
        ShowPlayerDialog(playerid, DialogRegister, DIALOG_STYLE_INPUT, TXT_DialogRegisterTitle, TXT_DialogRegisterMsg, TXT_DialogRegisterButton1, TXT_DialogButtonCancel);
    }
Reply
#8

deixei normal de volto vo estudar o erro
Reply
#9

bom Retirei o Erro So Que Apareceu Nessa linha os mesmo

pawn Код:
HouseID = APlayerData[playerid][Houses][HouseSlot];
Reply
#10

Quote:

o erro :
undefined symbol "PlayerFile_Load"

Todos assim , o Nome nao estar definido ... voce deve criar a Variavel ...PlayerFile_Load .. pra funfar ..
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)