31.07.2017, 23:24
Tentei colocar um sistema VIP no meu gm e da os seguintes erros :
O cуdigo й o seguinte:
Sou novato e nгo percebo muito, agradeзo a quem puder ajudar.
Код:
error 017: undefined symbol "Nome" error 017: undefined symbol "Nome" error 017: undefined symbol "SalvarContas"
Код:
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; }