[Ajuda] Ajudinha Besta.
#1

Compilator Error:

Quote:

C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(199) : warning 217: loose indentation
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(206) : error 028: invalid subscript (not an array or too many subscripts): "pInfo"
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(206) : warning 215: expression has no effect
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(206) : error 001: expected token: ";", but found "]"
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(206) : error 029: invalid expression, assumed zero
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(206) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Linha 206:

Quote:

pInfo[playerid][pOrg] = GetPVarInt(playerid, "OrgConvidado"); //Seta a organizaзгo de acordo com a PVarInt do comando /convida

5 Linhas Acima e Abaixo:

Quote:

{
if(dialogid == DIALOG_INVITE)
{
new playername[MAX_PLAYER_NAME], string[128]; //Variaveis que irб armazenar o nome e "string"
GetPlayerName(playerid, playername, sizeof(playername)); //Geta o nome do player que aparaceu o dialog
if(response) //Se ele clicar em SIM...
{
pInfo[playerid][pOrg] = GetPVarInt(playerid, "OrgConvidado");
pInfo[playerid][pPattent] = 1; //Seta o pPattent a 1
format(string, sizeof(string), "%s aceitou seu Convite.", playername);
SendClientMessage(GetPVarInt(playerid, "QuemConvidou"), 0x00FF00FF, string);
format(string, sizeof(string), "%s й o mais novo membro da Organizaзгo.", playername);
SendFamilyMessage(pInfo[playerid][pOrg], GetPlayerColor(playerid), string);
SendClientMessage(playerid, 0x00FF00FF, "Vocк aceitou o Convite.");
DeletePVar(playerid, "OrgConvidado");
DeletePVar(playerid, "QuemConvidou");
SpawnPlayer(playerid); //Spawn nele!

Agradeзo desde jб!

@edit: esse sistema tem como base o criador de Orgs V2. Que nгo й de minha autoria.
Reply
#2

pawn Код:
new pInfo[MAX_PLAYERS][info];

enum info
{
     pOrg,
     // e outros que vocк usou
     Matou
}
Reply
#3

Jб estб feito no inнcio do GM. Erro persiste.

@edit: Se apenas deletar essa linha outros erros com esta mesma caracterнstica aparecem.

@edit 2 - Code do ENUM

Quote:

new PlayerInfo[MAX_PLAYERS][pInfo];

enum pInfo
{
pOrg,
pPattent,
pKills,
pDeaths,
pMoney,
pAdmin
}

Reply
#4

pawn Код:
PlayerInfo[playerid][pOrg] = GetPVarInt(playerid, "OrgConvidado");
Reply
#5

Nгo, nada feito, te adicionei no msn stanley, se der aceita lб. Novos erros apareceram, obrigado pela tentativa!

@edit
Quote:

C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(211) : error 017: undefined symbol "SendFamilyMessage"
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(229) : warning 225: unreachable code
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(229) : warning 217: loose indentation
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(229) : error 029: invalid expression, assumed zero
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(229) : error 004: function "Itter_OnPlayerDisconnect" is not implemented
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(243) : warning 225: unreachable code
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(243) : error 029: invalid expression, assumed zero
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(243) : error 004: function "OnPlayerSpawn" is not implemented
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(249) : warning 225: unreachable code
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(249) : error 029: invalid expression, assumed zero
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(249) : error 004: function "OnPlayerDeath" is not implemented
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(251) : error 017: undefined symbol "killerid"
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(256) : warning 225: unreachable code
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(256) : error 029: invalid expression, assumed zero
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(256) : error 004: function "OnPlayerSpawn" is not implemented
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(25 : error 028: invalid subscript (not an array or too many subscripts): "pInfo"
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(25 : warning 215: expression has no effect
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(25 : error 001: expected token: ";", but found "]"
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(25 : error 029: invalid expression, assumed zero
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(25 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


14 Errors.

Reply
#6

PHP код:
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(211) : error 017undefined symbol "SendFamilyMessage"
*"Seu GM nгo possui a funзгo: SendFamilyMessage."
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(229) : warning 225unreachable code
C
:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(229) : warning 217loose indentation
C
:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(229) : error 029invalid expressionassumed zero
C
:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(229) : error 004: function "Itter_OnPlayerDisconnect" is not implemented
*"Vocк estб chamando a CallBack Itter_OnPlayerDisconnect mais ela nгo encontra-se em seu GM."
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(243) : warning 225unreachable code
C
:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(243) : error 029invalid expressionassumed zero
C
:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(243) : error 004: function "OnPlayerSpawn" is not implemented
*"Vocк estб chamando a CallBack OnPlayerSpawn mais ela nгo encontra-se em seu GM."
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(249) : warning 225unreachable code
C
:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(249) : error 029invalid expressionassumed zero
C
:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(249) : error 004: function "OnPlayerDeath" is not implemented
*"Vocк estб chamando a CallBack OnPlayerDeath mais ela nгo encontra-se em seu GM."
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(251) : error 017undefined symbol "killerid"
*"Variavel nгo reconhecida, ela nгo existe no local."
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(256) : warning 225unreachable code
C
:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(256) : error 029invalid expressionassumed zero
C
:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(256) : error 004: function "OnPlayerSpawn" is not implemented
*"Vocк estб chamando a CallBack OnPlayerSpawn mais ela nгo encontra-se em seu GM."
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(258) : error 028invalid subscript (not an array or too many subscripts): "pInfo"
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(258) : warning 215expression has no effect
C
:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(258) : error 001expected token";"but found "]"
C:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(258) : error 029invalid expressionassumed zero
C
:\Users\Erika\Desktop\Servidor\Projeto Serron\gamemodes\PRPG.pwn(258) : fatal error 107too many error messages on one line
*"envйs de pInfo[...][...], coloque: PlayerInfo[...][...]!" 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)