08.03.2010, 19:58
Buenaas, quisiera sabes como sacar el AUTO_LOGIN de V-Admin..
Quote:
//=-=-=-=-=-Auto Login=-=-=-=-=-=-=- #define AUTO_LOGIN_ENABLED true |
Quote:
#if AUTO_LOGIN_ENABLED new tmp[50],tmp2[256]; GetPlayerIp(playerid,tmp,50); tmp2 = dini_Get(connect,"IP"); if(!strcmp(tmp,tmp2,false)) { format(string, sizeof(string), "Bienvenido %s ! Usted ha sido logeado automaticamente. ", playrname); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); gPlayerLogged[playerid] = 0; new string2[64]; new playername2[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername2, sizeof(playername2)); format(string2, sizeof(string2), "V-Admin/Users/%s.ini", playername2); new File: UserFile = fopen(string2, io_read); if ( UserFile ) { |