11.11.2010, 23:53
pawn Код:
public OnPlayerConnect(playerid)
{
new name[25];
new file[64];
GetPlayerName(playerid, name, 25);
format(file, 64, "/Users/%s.ini", name);
if(!fexist(file))
{
SendClientMessage(playerid, COLOR_GREEN, "OMGWTFBBQ You arent registered! type /register to save your stats!");
logged[playerid] = 0;
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "hot damn sexy! You are registered! type /login [pass]!!");
}
return 1;
}