28.11.2010, 14:30
galera esse erro nao sai:
linha no final do gm
pf ajuda ai !!!
pawn Код:
C:\Users\B\Desktop\SERVER SAMP 0.3A\gamemodes\Thug.pwn(45079) : error 030: compound statement not closed at the end of file (started at line 45040)
pawn Код:
public GuerraEstacao(playerid)
{
new playername[MAX_PLAYER_NAME];
if(PlayerInfo[playerid][pMembro] == 21 || PlayerInfo[playerid][pLider] == 21)
{
if(ProvocoEstacao[playerid] == 1)
{
if(IsPlayerInEstacao(playerid))
{
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
new string [256];
format(string, sizeof(string), "%s e os Sons Dominaram a Estaзгo!",playername);
SendClientMessageToAll(COLOR_LH, string);
SendClientMessage(playerid, COLOR_GRAD5, "Vocк dominou a estaзгo, a cada 3 minutos nela ganhara grana.");
GangZoneStopFlashForAll(GZEstacao);
GangZoneShowForAll(GZEstacao,COLOR_LIGHTRED);
Dominando[playerid] = 0;
ProvocoEstacao[playerid] = 0;
GuerranaEstacao = 0;
donoestacao = 4;
KillTimer(TempoGuerraEstacao);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_LH, "Vocк nгo estб na estaзгo.");
Dominando[playerid] = 0;
GangZoneStopFlashForAll(GZEstacao);
GangZoneShowForAll(GZEstacao, 0xFFFFFF96);
ProvocoEstacao[playerid] = 0;
GuerranaEstacao = 0;
donoestacao = 0;
KillTimer(TempoGuerraEstacao);
return 1;
}
}
return 1;
}