18.09.2012, 13:15
pawn Код:
stock CarregarConta(playerid)
{
static String[36];
GetPlayerName(playerid, Nome,sizeof(Nome));
format(String, sizeof(String), "Contas/%s.ini", Nome);
if(DOF2_FileExists(String))
{
TitoX[playerid] = DOF2_GetFloat(String,"CoordenadaX");
TitoY[playerid] = DOF2_GetFloat(String,"CoordenadaY");
TitoZ[playerid] = DOF2_GetFloat(String,"CoordenadaZ");
TitoA[playerid] = DOF2_GetFloat(String,"CoordenadaA");
}
return 1;
}