[Ajuda] Undefined symbol
#5

Preciso de ajuda com essas warnings:
Код:
C:\Users\PC\Desktop\Minha GM\gamemodes\barev1comorg.pwn(793) : warning 213: tag mismatch
C:\Users\PC\Desktop\Minha GM\gamemodes\barev1comorg.pwn(1274) : warning 213: tag mismatch
C:\Users\PC\Desktop\Minha GM\gamemodes\barev1comorg.pwn(1275) : warning 213: tag mismatch
C:\Users\PC\Desktop\Minha GM\gamemodes\barev1comorg.pwn(1563) : warning 202: number of arguments does not match definition
C:\Users\PC\Desktop\Minha GM\gamemodes\barev1comorg.pwn(1564) : warning 202: number of arguments does not match definition
Linhas do warning: warning 213 tag mismatch
Код:
CMD:promover(playerid, params[])
{
	new PlayerB, cargo;
	if(sscanf(params, "d", PlayerB, Cargo)) return SendClientMessage(playerid, COLOR_ERRO, "[ x ] Uso correto: /Promover [id] [cargo]");
	if(ProgressaoInfo[playerid][Cargo] != 10) return SendClientMessage(playerid, COLOR_ERRO, "[ x ] Vocк nгo й lнder.");
	if(ProgressaoInfo[PlayerB][Membro] != ProgressaoInfo[playerid][Membro]) return SendClientMessage(playerid, COLOR_ERRO, "[ X ] Este jogador nгo й da mesma organizaзгo que vocк.");
	ProgressaoInfo[playerid][Cargo] = cargo;
	return true;
}
Linha do warning: warning 213: tag mismatch (2 linhas seguidas)
Код:
LoadPlayer(playerid)
{
    if( DOF2_FileExists( GetPlayerArquivo( playerid ) ) )
    {
        Player[ playerid ][ Score ] = DOF2_GetInt(GetPlayerArquivo(playerid), "Score");
        Player[ playerid ][ Dinheiro ] = DOF2_GetInt(GetPlayerArquivo(playerid), "Dinheiro");
        Player[ playerid ][ Fundador ] = DOF2_GetInt(GetPlayerArquivo(playerid), "Fundador");
        Player[ playerid ][ Gerente ] = DOF2_GetInt(GetPlayerArquivo(playerid), "Gerente");
        Player[ playerid ][ Admin ] = DOF2_GetInt(GetPlayerArquivo(playerid), "Admin");
        Player[ playerid ][ Matou ] = DOF2_GetInt(GetPlayerArquivo(playerid), "Matou");
        Player[ playerid ][ Morreu ] = DOF2_GetInt(GetPlayerArquivo(playerid), "Morreu");
        Player[ playerid ][ Membro ] = DOF2_GetInt(GetPlayerArquivo(playerid), "Membro"); //Linha do erro
        Player[ playerid ][ Cargo ] = DOF2_GetInt(GetPlayerArquivo(playerid), "Cargo"); //Linha do erro

        SetPlayerScore( playerid, Player[ playerid ][ Score ] );
        GivePlayerMoney( playerid, Player[ playerid] [ Dinheiro ] );

    }
    return 1;
}
Linha do warning: warning 202: number of arguments does not match definition
Код:
stock SalvarPlayer(playerid)
{
	new nome[MAX_PLAYER_NAME];
	GetPlayerName(playerid, nome, sizeof(nome));
	format(Texto, 35, "Jogadores/%s", nome);
	DOF2_FileExists(Texto);
	DOF2_SetInt("Membro", ProgressaoInfo[playerid][Membro]); //Linha do erro
	DOF2_SetInt("Cargo", ProgressaoInfo[playerid][Cargo]); //Linha do erro
	DOF2_SaveFile();
	DOF2_Exit();
	return true;
}
Jб tentei resolver alguns e nгo consegui
Reply


Messages In This Thread
Undefined symbol - by Hunterx157 - 22.05.2018, 01:42
Re: Undefined symbol - by CyNiC - 22.05.2018, 02:04
Re: Undefined symbol - by Hunterx157 - 22.05.2018, 02:52
Re: Undefined symbol - by FerrariL - 22.05.2018, 13:44
Re: Undefined symbol - by Hunterx157 - 22.05.2018, 22:21
Re: Undefined symbol - by CyNiC - 22.05.2018, 23:49
Re: Undefined symbol - by Hunterx157 - 23.05.2018, 02:57
Re: Undefined symbol - by Minerva - 23.05.2018, 03:13
Re: Undefined symbol - by Hunterx157 - 23.05.2018, 03:28

Forum Jump:


Users browsing this thread: 1 Guest(s)