Pawn Compiler has stopped working.
#1

Hi, good afternoon, can someone help me, please? Today I'm trying to make a character creation system, everything was going right, until my Pawn Compiler Library stopped working and showed these following errors:

Remember that the part of the code is to verify if the name of the character is empty or not. If you're sitting empty and looking at yourself.

Код:
gamemode RP\gamemodes\gamemode.pwn(6702) : warning 213: tag mismatch
gamemode RP\gamemodes\gamemode.pwn(6702) : warning 213: tag mismatch
Which would be in this line:

PHP код:
format(strsizeof(str), "%s", (!PlayerInfo[playerid][pPersonagem1]) ? ("Vazio") : (PlayerInfo[playerid][pPersonagem1]));
PlayerTextDrawSetString(playeridPlayerInfo[playerid][pTextDraws][2], str); 
public:
PHP код:
stock MenuPersonagens(playerid)
{
    new 
str[100];
    
/*if (CriandoPersonagem[playerid] == 0)
    {
        //Logando com o personagem
        
        for (new i = 0; i < 8; i++)
        {
            PlayerTextDrawHide(playerid, PlayerInfo[playerid][pTextDraws][i]);
        }
        for (new i = 71; i < 81; i++)
        {
            PlayerTextDrawHide(playerid, PlayerInfo[playerid][pTextDraws][i]);
        }
    }*/
    
format(strsizeof(str), "%s", (!PlayerInfo[playerid][pPersonagem1]) ? ("Vazio") : (PlayerInfo[playerid][pPersonagem1]));
    
PlayerTextDrawSetString(playeridPlayerInfo[playerid][pTextDraws][2], str);
    
format(strsizeof(str), "%s", (!PlayerInfo[playerid][pPersonagem2]) ? ("Vazio") : (PlayerInfo[playerid][pPersonagem2]));
    
PlayerTextDrawSetString(playeridPlayerInfo[playerid][pTextDraws][3], str);
    
format(strsizeof(str), "%s", (!PlayerInfo[playerid][pPersonagem3]) ? ("Vazio") : (PlayerInfo[playerid][pPersonagem3]));
    
PlayerTextDrawSetString(playeridPlayerInfo[playerid][pTextDraws][4], str);
    for (new 
25i++)
    {
        
PlayerTextDrawHide(playeridPlayerInfo[playerid][pTextDraws][i]);
        
PlayerTextDrawShow(playeridPlayerInfo[playerid][pTextDraws][i]);
    }
    
SelectTextDraw(playerid, -1);

Reply


Messages In This Thread
Pawn Compiler has stopped working. - by SukMathcuck - 07.12.2016, 17:11
Re: Pawn Compiler has stopped working. - by Gusteakas - 07.12.2016, 17:16
Re: Pawn Compiler has stopped working. - by SukMathcuck - 07.12.2016, 17:23
Re: Pawn Compiler has stopped working. - by iLearner - 07.12.2016, 17:37
Re: Pawn Compiler has stopped working. - by SukMathcuck - 07.12.2016, 17:44
Re: Pawn Compiler has stopped working. - by iLearner - 07.12.2016, 17:47
Re: Pawn Compiler has stopped working. - by SukMathcuck - 07.12.2016, 17:51
Re: Pawn Compiler has stopped working. - by iLearner - 07.12.2016, 17:56
Re: Pawn Compiler has stopped working. - by SukMathcuck - 07.12.2016, 17:59
Re: Pawn Compiler has stopped working. - by iLearner - 07.12.2016, 18:01

Forum Jump:


Users browsing this thread: 1 Guest(s)