20.10.2016, 16:09
Galera sуu novato em pawno e nгo sei porque estб dando esse erro me ajudem porfavor !
Diz que o erro estб na linha 341 mais nйm existe essa linha cуdigo abaixo !
Erros
Diz que o erro estб na linha 341 mais nйm existe essa linha cуdigo abaixo !
Erros
Код:
C:\Users\RianRBS\Desktop\gm\gamemodes\BTR.pwn(327) : warning 217: loose indentation C:\Users\RianRBS\Desktop\gm\gamemodes\BTR.pwn(338) : warning 217: loose indentation C:\Users\RianRBS\Desktop\gm\gamemodes\BTR.pwn(341) : error 030: compound statement not closed at the end of file (started at line 328) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
public OnPlayerDisconnect(playerid, reason)
{
if(INI_Open(ObterINI(playerid))) {
INI_WriteInt("Score",PlayerInfo[playerid][pScore]);
INI_WriteInt("Dinheiro",GetPlayerMoney(playerid));
INI_WriteInt("Admin",PlayerInfo[playerid][pAdmin]);
INI_Save();
INI_Close();
{
for(new i; i < MAX_PLAYERS; i++){
if(E_BR_WAIT[i] == 1){
new e_var[200];
E_BR_PLAYERS--;
format(e_var, sizeof e_var, "| {FA8072}testetiu {FFFFFF}| {BEBEBE}Restam somente {FFD700}%d {BEBEBE}Jogadores!", E_BR_PLAYERS);
SendClientMessage(i, -1, e_var);
KillTimer(InWater_BR[playerid]);
}
return 1;
}

