29.03.2013, 12:23
pawn Код:
stock Ler(playerid)
{
SetPlayerPos(playerid, DOF2_GetFloat(Contas(playerid), "Pos"));
return 1;
}
stock Salvar(playerid)
{
if(!DOF2_FileExists(Contas(playerid)))
{
DOF2_CreateFile(Contas(playerid));
Salvar(playerid);
return 1;
}
DOF2_SetFloat(Contas(playerid), "Pos", GetPlayerPos(playerid, Px, Py, Pz));
DOF2_SaveFile();
return 1;
}