27.02.2013, 00:50
pawn Код:
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);
}
}