07.12.2016, 17:11
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.
Which would be in this line:
public:
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
PHP код:
format(str, sizeof(str), "%s", (!PlayerInfo[playerid][pPersonagem1]) ? ("Vazio") : (PlayerInfo[playerid][pPersonagem1]));
PlayerTextDrawSetString(playerid, PlayerInfo[playerid][pTextDraws][2], str);
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(str, sizeof(str), "%s", (!PlayerInfo[playerid][pPersonagem1]) ? ("Vazio") : (PlayerInfo[playerid][pPersonagem1]));
PlayerTextDrawSetString(playerid, PlayerInfo[playerid][pTextDraws][2], str);
format(str, sizeof(str), "%s", (!PlayerInfo[playerid][pPersonagem2]) ? ("Vazio") : (PlayerInfo[playerid][pPersonagem2]));
PlayerTextDrawSetString(playerid, PlayerInfo[playerid][pTextDraws][3], str);
format(str, sizeof(str), "%s", (!PlayerInfo[playerid][pPersonagem3]) ? ("Vazio") : (PlayerInfo[playerid][pPersonagem3]));
PlayerTextDrawSetString(playerid, PlayerInfo[playerid][pTextDraws][4], str);
for (new i = 2; i < 5; i++)
{
PlayerTextDrawHide(playerid, PlayerInfo[playerid][pTextDraws][i]);
PlayerTextDrawShow(playerid, PlayerInfo[playerid][pTextDraws][i]);
}
SelectTextDraw(playerid, -1);
}