SA-MP Forums Archive
[Ajuda] ERRO - 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 (/showthread.php?tid=611320)



ERRO - social - 05.07.2016

alguйm me ajuda com esses erros
Код:
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1747) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1749) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1751) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1756) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1758) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1763) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1765) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1770) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1772) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1777) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1779) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1784) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1786) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1799) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1801) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1808) : error 010: invalid function or declaration



Re: ERRO - [BOPE]Seu._.Madruga - 05.07.2016

Cade os cуdigos?


Re: ERRO - Carlos001 - 05.07.2016

Posta o Codigo '-'


Re: ERRO - moura98 - 05.07.2016

Quote:
Originally Posted by social
Посмотреть сообщение
alguйm me ajuda com esses erros
Код:
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1747) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1749) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1751) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1756) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1758) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1763) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1765) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1770) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1772) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1777) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1779) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1784) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1786) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1799) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1801) : error 010: invalid function or declaration
C:\Users\Gabriel\Desktop\zw_mysql.pwn(1808) : error 010: invalid function or declaration
poste as linhas do erro


Re: ERRO - social - 05.07.2016

forward Contagem(playerid);
public Contagem(playerid)
{
new string[128];
if(GetPVarInt(playerid,"Tempo") == 20)
{
if(Player[playerid][pFavela] == 1 || Player[playerid][pFavela] == 2 || Player[playerid][pFavela] == 3)
{
SendFormattedMessageToAll(COR_DOMINAR, "› A Facзгo 'CMD' dominou com sucesso a favela '%s' da '%s'.", GangZone[GetPVarInt(playerid,"GZAtacada")][GZName], GZDono[GetPVarInt(playerid,"GZAtacada")]);
GangZone[GetPVarInt(playerid,"GZAtacada")][GZColor] = COR_CMD;
JovemDominando[playerid] = 0;
GZDono[GetPVarInt(playerid,"GZAtacada")] = "CMD";
}
else if(Player[playerid][pFavela] == 4 || Player[playerid][pFavela] == 5 || Player[playerid][pFavela] == 6)
{
SendFormattedMessageToAll(COR_DOMINAR, "› A Facзгo 'LLL' dominou com sucesso a favela '%s' da '%s'.", GangZone[GetPVarInt(playerid,"GZAtacada")][GZName], GZDono[GetPVarInt(playerid,"GZAtacada")]);
GangZone[GetPVarInt(playerid,"GZAtacada")][GZColor] = COR_LLL;
JovemDominando[playerid] = 0;
GZDono[GetPVarInt(playerid,"GZAtacada")] = "LLL";
}
else if(Player[playerid][pFavela] == 7 || Player[playerid][pFavela] == 8 || Player[playerid][pFavela] == 9)
{
SendFormattedMessageToAll(COR_DOMINAR, "› A Facзгo 'TD3' dominou com sucesso a favela '%s' da '%s'.", GangZone[GetPVarInt(playerid,"GZAtacada")][GZName], GZDono[GetPVarInt(playerid,"GZAtacada")]);
GangZone[GetPVarInt(playerid,"GZAtacada")][GZColor] = COR_TCP;
JovemDominando[playerid] = 0;
GZDono[GetPVarInt(playerid,"GZAtacada")] = "TD3";
}
else if(Player[playerid][pFavela] == 10 || Player[playerid][pFavela] == 11 || Player[playerid][pFavela] == 12)
{
SendFormattedMessageToAll(COR_DOMINAR, "› A Facзгo 'MLC' dominou com sucesso a favela '%s' da '%s'.", GangZone[GetPVarInt(playerid,"GZAtacada")][GZName], GZDono[GetPVarInt(playerid,"GZAtacada")]);
GangZone[GetPVarInt(playerid,"GZAtacada")][GZColor] = COR_MLC;
JovemDominando[playerid] = 0;
GZDono[GetPVarInt(playerid,"GZAtacada")] = "MLC";
}
else if(Player[playerid][pBOPE] >= 1)
{
SendFormattedMessageToAll(COR_DOMINAR, "› A Coporaзгo da 'BOPE' pacificou com sucesso a favela '%s' da '%s'.", GangZone[GetPVarInt(playerid,"GZAtacada")][GZName], GZDono[GetPVarInt(playerid,"GZAtacada")]);
GangZone[GetPVarInt(playerid,"GZAtacada")][GZColor] = COR_BOPE;
JovemDominando[playerid] = 0;
GZDono[GetPVarInt(playerid,"GZAtacada")] = "BOPE";
}
else if(Player[playerid][pPMRJ] >= 1)
{
SendFormattedMessageToAll(COR_DOMINAR, "› A Coporaзгo da 'Policia Militar' pacificou com sucesso a favela '%s' da '%s'.", GangZone[GetPVarInt(playerid,"GZAtacada")][GZName], GZDono[GetPVarInt(playerid,"GZAtacada")]);
GangZone[GetPVarInt(playerid,"GZAtacada")][GZColor] = COR_PMRJ;
JovemDominando[playerid] = 0;
GZDono[GetPVarInt(playerid,"GZAtacada")] = "Policia Militar";
}
GivePlayerMoney(playerid, 200);
Player[playerid][pDinheiro] += 200;
GangZoneHideForAll(GangZonas[GetPVarInt(playerid,"GZAtacada")]);
GangZoneShowForAll(GangZonas[GetPVarInt(playerid,"GZAtacada")], GangZone[GetPVarInt(playerid,"GZAtacada")][GZColor]);
KillTimer(ContagemDominio[GetPVarInt(playerid,"GZAtacada")]);
ContagemDominio[GetPVarInt(playerid,"GZAtacada")] = 0;
SetPVarInt(playerid,"GZAtacada",-1);
SetPVarInt(playerid,"Tempo",0);
return 1;
}
else
{
SetPVarInt(playerid,"Tempo",GetPVarInt(playerid,"T empo")+1);
format(string,sizeof(string),"~r~~h~%i ~w~/ 20", GetPVarInt(playerid,"Tempo"));
GameTextForPlayer(playerid, string, 1500, 5);
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
}
return 1;
}