[Ajuda] Erro de cуdigo
#1

Tentei colocar um sistema VIP no meu gm e da os seguintes erros :


Код:
error 017: undefined symbol "Nome"
 error 017: undefined symbol "Nome"
error 017: undefined symbol "SalvarContas"
O cуdigo й o seguinte:

Код:
new arquivo[40], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, 32);
    format(arquivo, 40, "VIPS/%s.ini", name);
    if(Player[playerid][Socio] == 1)
    {
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
	format(String, sizeof(String), "Sуcio: %s ~g~online", Nome(playerid));
	GameTextForPlayer(i, String,1000,1);
	}
    }
    if(DOF2_FileExists(arquivo))
    {
        Player[playerid][Vip] = DOF2_GetInt(arquivo, "Vip");
		Player[playerid][Socio] = DOF2_GetInt(arquivo, "Socio");
    }
    else
    {
        DOF2_CreateFile(arquivo);
    }
    return 1;





 if(Player[playerid][Socio] == 1)
    {
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
	format(String, sizeof(String), "Sуcio: %s ~r~Off", Nome(playerid));
	GameTextForPlayer(i, String,1000,1);
	}
	}
    SalvarContas(playerid);

	return 1;
}
Sou novato e nгo percebo muito, agradeзo a quem puder ajudar.
Reply


Messages In This Thread
Erro de cуdigo - by Zuza - 31.07.2017, 23:24
Re: Erro de cуdigo - by GuilhermeNunes - 31.07.2017, 23:29
Re: Erro de cуdigo - by DarkBr - 31.07.2017, 23:29
Re: Erro de cуdigo - by Zuza - 31.07.2017, 23:33

Forum Jump:


Users browsing this thread: 1 Guest(s)