[AJUDA]erro maldto - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA]erro maldto (
/showthread.php?tid=194086)
[AJUDA]erro maldto -
Xapita_Halls - 28.11.2010
galera esse erro nao sai:
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)
linha no final do gm
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;
}
pf ajuda ai !!!
Re: [AJUDA]erro maldto -
Macintosh - 28.11.2010
Dб pra dб um edit e mostrar a linha?
Re: [AJUDA]erro maldto -
blackwave - 28.11.2010
Tenta:
Код:
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;
}
}