[Ajuda] Da 26 erros - 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] Da 26 erros (
/showthread.php?tid=418993)
Da 26 erros -
Wellington1999 - 26.02.2013
Bom Eu Coloco isso Da 26 Erros porq ?
dizem q й tag mal fechada mais n sei qual
o codigo
pawn Код:
public GuerraAero(playerid)
{
new string[128];
new playername[MAX_PLAYER_NAME];
if(PlayerInfo[playerid][pMembro] == 27 || PlayerInfo[playerid][pLider] == 27)
{
if(ProvocoAero[playerid] == 1)
{
if(IsPlayerInAero(playerid))
{
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e o Mid NighT Club Dominaram o Aero!",playername);
SendClientMessageToAll(COR_MID, string);
SendClientMessage(playerid, COLOR_GRAD5, "Vocк dominou o casarгo, a cada 3 minutos nela ganharб grana.");
GangZoneStopFlashForAll(GZAero);
GangZoneShowForAll(GZAero,COR_MID);
Dominando[playerid] = 0;
ProvocoAero[playerid] = 0;
GuerranoAero = 0;
donoAero = 1;
KillTimer(TempoGuerraAero);
return 1;
}
else
{
SendClientMessage(playerid, COR_MID, "Vocк nгo estб no Aero.");
Dominando[playerid] = 0;
GangZoneStopFlashForAll(GZAero);
GangZoneShowForAll(GZAero, 0xFFFFFF96);
ProvocoAero[playerid] = 0;
GuerranoAero = 0;
donoAero = 0;
KillTimer(TempoGuerraAero);
return 1;
}
}
return 1;
}
+ rep pra qm ajuda
Re: Da 26 erros -
Delete_ - 26.02.2013
PHP код:
public GuerraAero(playerid)
{
new string[128];
new playername[MAX_PLAYER_NAME];
if(PlayerInfo[playerid][pMembro] == 27 || PlayerInfo[playerid][pLider] == 27)
{
if(ProvocoAero[playerid] == 1)
{
if(IsPlayerInAero(playerid))
{
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e o Mid NighT Club Dominaram o Aero!",playername);
SendClientMessageToAll(COR_MID, string);
SendClientMessage(playerid, COLOR_GRAD5, "Vocк dominou o casarгo, a cada 3 minutos nela ganharб grana.");
GangZoneStopFlashForAll(GZAero);
GangZoneShowForAll(GZAero,COR_MID);
Dominando[playerid] = 0;
ProvocoAero[playerid] = 0;
GuerranoAero = 0;
donoAero = 1;
KillTimer(TempoGuerraAero);
return 1;
}
else
{
SendClientMessage(playerid, COR_MID, "Vocк nгo estб no Aero.");
Dominando[playerid] = 0;
GangZoneStopFlashForAll(GZAero);
GangZoneShowForAll(GZAero, 0xFFFFFF96);
ProvocoAero[playerid] = 0;
GuerranoAero = 0;
donoAero = 0;
KillTimer(TempoGuerraAero);
return 1;
}
}
}
return 1;
}
Re: Da 26 erros -
Maklister - 26.02.2013
Falta um bracet } no final do code
Re: Da 26 erros -
Wellington1999 - 26.02.2013
Ops
qual o editor de codigo q usam ?
+rep pros 2
Re: Da 26 erros -
Maklister - 26.02.2013
Eu uso o IDE Infernus:
http://www.homehots.net/2010/01/infe...wn-editor.html
Mais tambйm o Notepad++ й uma уtima opзгo.
Re: Da 26 erros -
Wellington1999 - 26.02.2013
Murilo ve meu otro topico de 4 erros