01.08.2013, 19:46
pawn Код:
________________________________
\gamemodes\(10498) : error 012: invalid function call, not a valid address
\gamemodes\(10498) : warning 215: expression has no effect
\gamemodes\(10498) : error 001: expected token: ";", but found ")"
\gamemodes\(10498) : error 029: invalid expression, assumed zero
\gamemodes\(10498) : 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.
pawn Код:
No topo:
new CarregarDados[MAX_PLAYERS];
new Arquivos[MAX_PLAYERS];
Linhas:
pawn Код:
public OnPlayerConnect(playerid) // Linha: 10492
{ //Linha: 10493
CarregarDados(playerid){ //Linha: 10494
if(fexist(Arquivos(playerid))){ //Linha: 10495
SetPlayerHealth(playerid,dini_Int(Arquivos(playerid),"Vida")); //Linha: 10496
SetPlayerArmour(playerid,dini_Int(Arquivos(playerid),"Colete")); //Linha: 10497
} //Linha: 10498
return 1; //Linha: 10499
} //Linha: 10500
Arquivos(playerid){ //Linha: 10501
new arq[30]; //Linha: 10502
format(arq,30,"Jogadores/%s.ini",Nome(playerid)); //Linha: 10503
return arq; //Linha: 10504
} //Linha: 10505
Nome(playerid){ //Linha: 10506
new name[MAX_PLAYER_NAME]; //Linha: 10507
GetPlayerName(playerid,name,24); //Linha: 10508
return name; //Linha: 10509
}