27.02.2013, 00:18
(
Последний раз редактировалось Coringa_Vilao; 07.11.2015 в 02:31.
)
Resolvido !
DOF2_CreateFile(File[]);
Vocк pelo menos criou o arquivo quando se й digitado o comando para setar Vip?
pawn Код:
|
DOF2_CreateFile("CoringaNewbie.txt");
stock SalvarVip(playerid)// Stock de salvar VIP!
{
if(fexist(PegarVIP(playerid)))
{
DOF2_SetInt(PegarVIP(playerid), "NivelVip", PlayerVip[playerid]);// Seta o NivelVip = NIVEL DO VIP DO PLAYER!
DOF2_SetInt(PegarVIP(playerid), "Meses", meses);// Meses de VIP
DOF2_SaveFile();
}
else
{
DOF2_CreateFile(PegarVIP(playerid));
SalvarVip(playerid);
}
}
if(PlayerVip[playerid] == 3)
if(PlayerVip[i] == 3)
Coloquei assim:
pawn Код:
pawn Код:
pawn Код:
|
stock SalvarVip(playerid)// Stock de salvar VIP!
{
DOF2_CreateFile(PegarVIP(playerid));
DOF2_SetInt(PegarVIP(playerid), "NivelVip", PlayerVip[playerid]);// Seta o NivelVip = NIVEL DO VIP DO PLAYER!
DOF2_SetInt(PegarVIP(playerid), "Meses", meses);// Meses de VIP
DOF2_SaveFile();
}