error 010: invalid function or declaration error 010: invalid function or declaration error 021: symbol already defined: "format" error 010: invalid function or declaration error 054: unmatched closing brace ("}") error 010: invalid function or declaration error 010: invalid function or declaration : error 021: symbol already defined: "format" error 010: invalid function or declaration error 054: unmatched closing brace ("}") error 010: invalid function or declaration error 010: invalid function or declaration error 010: invalid function or declaration error 054: unmatched closing brace ("}") error 010: invalid function or declaration error 010: invalid function or declaration error 054: unmatched closing brace ("}") : error 010: invalid function or declaration : error 054: unmatched closing brace ("}") : error 010: invalid function or declaration : error 010: invalid function or declaration : error 021: symbol already defined: "TextDrawHideForPlayer" error 021: symbol already defined: "KickBPS" error 010: invalid function or declaration error 021: symbol already defined: "SelectTextDraw" error 010: invalid function or declaration
if(!gPlayerLogged[playerid]){
if(clickedid == Textdraw6){//Logar
format(Fala,sizeof(Fala),Pasta_Contas,NomePlayer(playerid));
if(DOF2_FileExists(Fala))
{
ForT:logar(playerid,"");
}
else ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FFFF00}ERRO", "{FF0000}* Vocк Nao Tem Uma Conta !", "OK","");
}
else if(clickedid == Textdraw8){//Registrar
format(Fala,sizeof(Fala),Pasta_Contas,NomePlayer(playerid));
if(!DOF2_FileExists(Fala))
{
ForT:registrar(playerid,"");
}
else ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FFFF00}ERRO", "{FF0000}* Vocк Ja Tem Uma Conta !", "OK","");
}
else if(clickedid == Textdraw10){//Regras
ForT:regras(playerid,"");
}
else if(clickedid == Textdraw13){//Organizaзхes
ForT:infoserver(playerid,"");
}
else if(clickedid == Textdraw15){//Informaзхes+
ForT:helpers(playerid);
}
else if(clickedid == Textdraw13){//Sair
for(new x; x != MAX_TEXT_DRAWS; x++){
TextDrawHideForPlayer(playerid, Text:x);
}
Kick(playerid);
}
else{
SelectTextDraw(playerid,0xFFFFFFFF);
}
return 1;
}
Estб tudo certinho! abrindo e fechando, eu realmente nгo sei oque fazer.
|
Oque eu devo fazer agora? eu nгo tenho backup da gamemode, e nгo consigo arrumar o cуdigo ;-;
|
if(!gPlayerLogged[playerid])
{
if(clickedid == Textdraw6)//logar
{
format(Fala,sizeof(Fala),Pasta_Contas,NomePlayer(playerid));
if(DOF2_FileExists(Fala))
{
ForT:logar(playerid,"");
}
else ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FFFF00}ERRO", "{FF0000}* Vocк Nao Tem Uma Conta !", "OK","");
}
else if(clickedid == Textdraw8)
{//Registrar
format(Fala,sizeof(Fala),Pasta_Contas,NomePlayer(playerid));
if(!DOF2_FileExists(Fala))
{
ForT:registrar(playerid,"");
}
else ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FFFF00}ERRO", "{FF0000}* Vocк Ja Tem Uma Conta !", "OK","");
}
else if(clickedid == Textdraw10)
{//Regras
ForT:regras(playerid,"");
}
else if(clickedid == Textdraw13)
{//Organizaзхes
ForT:infoserver(playerid,"");
}
else if(clickedid == Textdraw15)
{//Informaзхes+
ForT:helpers(playerid);
}
else if(clickedid == Textdraw13)
{//Sair
for(new x; x != MAX_TEXT_DRAWS; x++)
{
TextDrawHideForPlayer(playerid, Text:x);
}
Kick(playerid);
return 1;
}
if(clickedid == Text:INVALID_TEXT_DRAW)
{
if(GetPVarInt(playerid, "vMochila") && !GetPVarInt(playerid, "guardando"))
{
HideMochila(playerid);
}
if(GetPVarInt(playerid, "vportamala") && !GetPVarInt(playerid, "guardando"))
{
HidePortaMala(playerid);
}
}
if(GetPVarInt(playerid, "skinc_active") == 0) return 0;
if(clickedid == Text:INVALID_TEXT_DRAW)
{
DestroySelectionMenu(playerid);
SetPVarInt(playerid, "skinc_active", 0);
PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
return 1;
}
return 1;
}
//----------------------------------------------------------
new gPlayerLogged[MAX_PLAYERS];
new Text:Textdraw0;
new Text:Textdraw1;
new Text:ASHU;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
new Text:Textdraw8;
new Text:Textdraw9;
new Text:Textdraw10;
new Text:Textdraw11;
new Text:Textdraw12;
new Text:Textdraw13;
new Text:Textdraw14;
new Text:Textdraw15;
new Text:Textdraw16;
new Text:Textdraw17;
new Text:Textdraw18;
new Text:Textdraw19;
if(!gPlayerLogged[playerid])
{
if(clickedid == Textdraw6)//logar
{
format(Fala,sizeof(Fala),Pasta_Contas,NomePlayer(playerid));
if(DOF2_FileExists(Fala))
ForT:logar(playerid,"");
else
ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FFFF00}ERRO", "{FF0000}* Vocк Nao Tem Uma Conta !", "OK","");
}
else if(clickedid == Textdraw8)//Registrar
{
format(Fala,sizeof(Fala),Pasta_Contas,NomePlayer(playerid));
if(!DOF2_FileExists(Fala))
ForT:registrar(playerid,"");
else
ShowPlayerDialog(playerid, 8724, DIALOG_STYLE_MSGBOX, "{FFFF00}ERRO", "{FF0000}* Vocк Ja Tem Uma Conta !", "OK","");
}
else if(clickedid == Textdraw10)//Regras
ForT:regras(playerid,"");
else if(clickedid == Textdraw13)//Organizaзхes
ForT:infoserver(playerid,"");
else if(clickedid == Textdraw15)//Informaзхes+
ForT:helpers(playerid);
else if(clickedid == Textdraw13)//Sair
{
for(new x; x != MAX_TEXT_DRAWS; x++)
TextDrawHideForPlayer(playerid, Text:x);
Kick(playerid);
return 1;
}
else if(clickedid == Text:INVALID_TEXT_DRAW)
{
if(GetPVarInt(playerid, "vMochila") && !GetPVarInt(playerid, "guardando"))
HideMochila(playerid);
else if(GetPVarInt(playerid, "vportamala") && !GetPVarInt(playerid, "guardando"))
HidePortaMala(playerid);
}
if(GetPVarInt(playerid, "skinc_active") == 0)
return 0;
// Handle: They cancelled (with ESC)
if(clickedid == Text:INVALID_TEXT_DRAW)
{
DestroySelectionMenu(playerid);
SetPVarInt(playerid, "skinc_active", 0);
PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
return 1;
}
return 1;
}
//----------------------------------------------------------