[AYUDA]
#7

hace asi:

pawn Код:
//#define AUTO_LOGIN_ENABLED
pawn Код:
#if defined 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 )
     {
y deberia funcionar
Reply


Messages In This Thread
[AYUDA] - by AguzZD - 08.03.2010, 19:58
Re: [AYUDA] - by TheChaoz - 08.03.2010, 22:30
Re: [AYUDA] - by AguzZD - 08.03.2010, 23:41
Re: [AYUDA] - by TheChaoz - 08.03.2010, 23:45
Re: [AYUDA] - by differo - 09.03.2010, 02:02
Re: [AYUDA] - by AguzZD - 09.03.2010, 02:17
Re: [AYUDA] - by TheChaoz - 09.03.2010, 02:42
Re: [AYUDA] - by Cesar_Biker - 09.03.2010, 06:50
Re: [AYUDA] - by AguzZD - 09.03.2010, 11:44
Re: [AYUDA] - by AguzZD - 09.03.2010, 15:41

Forum Jump:


Users browsing this thread: 3 Guest(s)