19.12.2010, 11:55
public OnPlayerLogin(playerid,password[])
{
new tmp2[256];
new string2[64];
new string[128];
new playersip[24];
new playername2[MAX_PLAYER_NAME];
new playernamesplit[3][MAX_PLAYER_NAME];
GetPlayerName(playerid, playername2, sizeof(playername2));
GetPlayerIp(playerid, playersip, sizeof(playersip));
split(playername2, playernamesplit, '_');
format(string2, sizeof(string2), "Users/%s.ini", playername2);
new File: UserFile = fopen(string, io_read);
if ( UserFile )
when i log-in to my server it keeps asking me to login
{
new tmp2[256];
new string2[64];
new string[128];
new playersip[24];
new playername2[MAX_PLAYER_NAME];
new playernamesplit[3][MAX_PLAYER_NAME];
GetPlayerName(playerid, playername2, sizeof(playername2));
GetPlayerIp(playerid, playersip, sizeof(playersip));
split(playername2, playernamesplit, '_');
format(string2, sizeof(string2), "Users/%s.ini", playername2);
new File: UserFile = fopen(string, io_read);
if ( UserFile )
when i log-in to my server it keeps asking me to login