01.01.2011, 12:49
Olб, pessoal estou colocando sistema de org em meu gm, mais na hora de copilar aparece esse seguintes erros:
(1653) : error 025: function heading differs from prototype
(1679) : error 010: invalid function or declaration
(1682) : error 010: invalid function or declaration
Essas sгo as linhas que estao dando erro:
Linha 1653:
Linhas: 1679 б 1682:
Os erros que dгo sao nessas linhas, agradeзo muito a quem me ajudar.
(me ajudem por favor '-')
att.
(1653) : error 025: function heading differs from prototype
(1679) : error 010: invalid function or declaration
(1682) : error 010: invalid function or declaration
Essas sгo as linhas que estao dando erro:
Linha 1653:
Код:
public SetPlayerTeamFromClass(playerid,classid)
{
if(classid == 0)
{
gTeam[playerid] = Bandidos;
}
else if(classid == 1)
{
gTeam[playerid] = Policia;
}
}
Код:
public OnPlayerRequestClass(playerid, classid)
gPlayerClass[playerid] = classid; //classes
Linha: 1679 -> if(classid == 0) {
GameTextForPlayer(playerid,"~b~Bandidos",1000,5);
}
Linha: 1682 -> else if(classid == 1) {
GameTextForPlayer(playerid,"~p~Policia",1000,5);
}
)
}
(me ajudem por favor '-')
att.


