enum PlayerInfo{ Nick[24], Senha[24]};new pInfo[MAX_PLAYERS][PlayerInfo];DOF2_CreateFile(Arquivo);DOF2_SetString(Arquivo, "Nick", PlayerName(playerid));DOF2_SetString(Arquivo, "Senha", inputtext);DOF2_SaveFile();PlayerName(playerid){ new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); return name;}
stock PlayerName(playerid) { new Name[MAX_PLAYER_NAME]; GetPlayerName(playerid, Name, MAX_PLAYER_NAME); return Name; }