[AJUDA] Erros.
#1

Bom estou criando organizaзхes mais estou tendo problemas.

com estб variбvel:

pawn Код:
new PlayerInfo[MAX_PLAYERS][Info];
erro:

pawn Код:
C:\Documents and Settings\Usuario\Desktop\Nova pasta\gamemodes\Gm.pwn(16) : error 017: undefined symbol "Info"
C:\Documents and Settings\Usuario\Desktop\Nova pasta\gamemodes\Gm.pwn(16) : error 009: invalid array size (negative, zero or out of bounds)
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
se precisar do comando:

pawn Код:
if(strcmp(cmd, "/convidar", true) == 0)
    {
    tmp = strtok(cmdtext, idx);
    new PlayerB;
    if(!strlen(tmp)) return SendClientMessage(playerid,-1, "Uso correto: /convidar [id]");
    PlayerB = strval(tmp);
    if(!IsPlayerConnected(PlayerB)) return SendClientMessage(playerid,-1, "Este jogador nгo estб conectado");
    if(PlayerInfo[playerid][lspd] >= 6)
    {
    PlayerInfo[PlayerB][lspd] = 1;
    SendClientMessage(PlayerB,-1, "Vocк foi convidado a LSPD.");
    SetPlayerColor(PlayerB,-1);
    return 1;
}
    else if(PlayerInfo[playerid][lvpd] >= 6)
    {
    PlayerInfo[PlayerB][lvpd] = 1;
    SendClientMessage(PlayerB, -1, "Vocк foi convidado a LVPD");
    SetPlayerColor(PlayerB, -1);
    return 1;
}
    return 1;
}
Reply


Messages In This Thread
[AJUDA] Erros. - by Pedro Pawno - 21.12.2012, 15:06
Re: [AJUDA] Erros. - by Q.I - 21.12.2012, 15:10
Respuesta: [AJUDA] Erros. - by Pedro Pawno - 21.12.2012, 15:12
Re: [AJUDA] Erros. - by Joao Pedro - 21.12.2012, 15:14
Respuesta: [AJUDA] Erros. - by Pedro Pawno - 21.12.2012, 15:17
Re: [AJUDA] Erros. - by Joao Pedro - 21.12.2012, 15:18
Respuesta: [AJUDA] Erros. - by Pedro Pawno - 21.12.2012, 15:50

Forum Jump:


Users browsing this thread: 1 Guest(s)