[Ajuda] Dini para DOF2
#4

Quote:
Originally Posted by paulor
View Post
pawn Code:
public SalvarUsuario(playerid)
{
    if(Logado[playerid] == true){
    new conta[256], banco[256];
    new Float:x, Float:y, Float:z, Float:a;
    format(conta, sizeof(conta), DIRETORIO, nome(playerid));
    format(banco, sizeof(banco), BANCO, nome(playerid));
    if(SkinComprada[playerid] == true){
    DOF2_SetInt(conta, "Skin", GetPlayerSkin(playerid));}
    DOF2_SetInt(conta, "Procurado", GetPlayerWantedLevel(playerid));
    DOF2_SetInt(conta, "Level", Level[playerid]);
    DOF2_SetInt(conta, "Experiencia", Experiencia[playerid]);
    DOF2_SetInt(conta, "Gasolina", Gasolina[playerid]);
    DOF2_SetInt(conta, "Galao", GalaoCombustivel[playerid]);
    DOF2_SetInt(conta, "Profissao", Profissao[playerid]);
    DOF2_SetInt(conta, "Dinheiro", GetPlayerMoneyEx(playerid));
    DOF2_SetInt(conta, "Terrestre", Habilitacoes[playerid][HAB_TERRESTRE]);
    DOF2_SetInt(conta, "Aerea", Habilitacoes[playerid][HAB_AEREA]);
    DOF2_SetInt(conta, "Nautica", Habilitacoes[playerid][HAB_NAUTICA]);
    DOF2_SetBool(conta, "Porte", Habilitacoes[playerid][HAB_PORTE]);
    DOF2_SetInt(conta, "Aulas", Aulas[playerid]);
    DOF2_SetInt(conta, "Lutas", GetPlayerFightingStyle(playerid));
    GetPlayerFacingAngle(playerid, a);
    GetPlayerPos(playerid, x, y, z);
    DOF2_SetFloat(conta, "X", x);
    DOF2_SetFloat(conta, "Y", y);
    DOF2_SetFloat(conta, "Z", z);
    DOF2_SetFloat(conta, "A", a);
    DOF2_SetBool(conta, "Preso", Preso[playerid]);
    DOF2_SetInt(conta, "ConvenioMedico", ConvenioMedico[playerid]);
    DOF2_SetInt(conta, "Interior", GetPlayerInterior(playerid));
    DOF2_SetInt(conta, "Pescas", QtPescas[playerid]);
    DOF2_SetInt(conta, "Cacas", QtCacas[playerid]);
    DOF2_SetFloat(conta, "Interior", GetPlayerInterior(playerid));
    DOF2_SaveFile();}
    return 1;
}
CTRL + H OWNA!!!
Quando vou salvar uma vбriavel bool, preciso usar
pawn Code:
DOF2_SetBool
?

LOL.
Reply


Messages In This Thread
Dini para DOF2 - by Ley - 06.08.2012, 20:15
Respuesta: Dini para DOF2 - by AnonymouSs - 06.08.2012, 20:49
Re: Dini para DOF2 - by paulor - 06.08.2012, 21:30
Re: Dini para DOF2 - by @Riichard - 06.08.2012, 21:44
Re: Dini para DOF2 - by paulor - 06.08.2012, 22:02
Re: Dini para DOF2 - by @Riichard - 06.08.2012, 22:03
Re: Dini para DOF2 - by Maklister - 07.08.2012, 15:36

Forum Jump:


Users browsing this thread: 2 Guest(s)