Help me solve this problem!
#1

Hello, i am from the forum samp brazil
Sorry for the spelling mistakes

I came to ask for help here, since nobodi can solve this problem over there.

I tried to put a more advanced login screen on my rpg server, but gave a mistake in a part of gamemode
Код:
(2960) : error 010: invalid function or declaration
(2962) : error 010: invalid function or declaration
(2965) : error 010: invalid function or declaration
2968) : error 054: unmatched closing brace ("}")
(2969) : error 010: invalid function or declaration
(2971) : error 010: invalid function or declaration
(2974) : error 010: invalid function or declaration
(2977) : error 054: unmatched closing brace ("}")
(2978) : error 010: invalid function or declaration
(2980) : error 010: invalid function or declaration
(2983) : error 054: unmatched closing brace ("}")
(2984) : error 010: invalid function or declaration
(2987) : error 054: unmatched closing brace ("}")
(2988) : error 010: invalid function or declaration
(2991) : error 054: unmatched closing brace ("}")
(2992) : error 010: invalid function or declaration
(2994) : error 010: invalid function or declaration
(2998) : error 021: symbol already defined: "KickBPS"
(2999) : error 010: invalid function or declaration
(3001) : error 010: invalid function or declaration
(3003) : error 010: invalid function or declaration
(3005) : error 021: symbol already defined: "HideMochila"
n(3007) : error 010: invalid function or declaration
(3009) : error 021: symbol already defined: "HidePortaMala"
(3012) : error 010: invalid function or declaration
(3013) : error 010: invalid function or declaration

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
PHP код:
if(!gPlayerLogged[playerid])
{
    if(
clickedid == Textdraw6)//logar
    
{
        
format(Fala,sizeof(Fala),Pasta_Contas,NomePlayer(playerid));
        if(
DOF2_FileExists(Fala))
        {
            
ForT:logar(playerid,"");
         }
        else 
ShowPlayerDialog(playerid8724DIALOG_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(playerid8724DIALOG_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,"");
2987    }
2988    else if(clickedid == Textdraw15)
    {
//Informaзхes+
        
ForT:helpers(playerid);
    }
 
2991   else if(clickedid == Textdraw13)
 
2992   {//Sair
         
for(new x!= MAX_TEXT_DRAWSx++)
 
2994        {
             
TextDrawHideForPlayer(playeridText:x);
        }
2998        Kick(playerid);
2999        return 1;
    }
3001    if(clickedid == Text:INVALID_TEXT_DRAW)
    {
3003        if(GetPVarInt(playerid"vMochila") && !GetPVarInt(playerid"guardando"))
        {
3005            HideMochila(playerid);
        }
3007        if(GetPVarInt(playerid"vportamala") && !GetPVarInt(playerid"guardando"))
        {
3009            HidePortaMala(playerid);
        }
    }
 
3012   if(GetPVarInt(playerid"skinc_active") == 0) return 0;
 
3013   if(clickedid == Text:INVALID_TEXT_DRAW)
    {
        
DestroySelectionMenu(playerid);
        
SetPVarInt(playerid"skinc_active"0);
        
PlayerPlaySound(playerid10850.00.00.0);
        return 
1;
    }
    return 
1;

OBS: I listed some parts of the code.

If anyone can solve this problem, I will thank you from the heart and put the name in / creditos
Reply


Messages In This Thread
Help me solve this problem! - by Ir123 - 10.12.2018, 02:56
Re: Help me solve this problem! - by Gameluner - 10.12.2018, 05:03
Re: Help me solve this problem! - by AdamsLT - 10.12.2018, 07:41
Re: Help me solve this problem! - by Ir123 - 10.12.2018, 13:15

Forum Jump:


Users browsing this thread: 1 Guest(s)