VIP system help..
#1

I tryed the VIP system BUT, for some reason the expire date only one day after making someone an VIP, but i want to change to like 20 days, Heres the lines:
pawn Код:
format(string, 32, "%02d/%02d/%d", Month, Day, Year);
            strmid(PlayerInfo[giveplayerid][pVIPJoinDate], string, 0, strlen(string), 255);
            format(string, 32, "%02d/%02d/%d", Month+1, Day, Year);
            strmid(PlayerInfo[giveplayerid][pVIPExpDate], string, 0, strlen(string), 255);
            if(Month == 12) { format(PlayerInfo[giveplayerid][pVIPExpDate], 32, "%02d/%02d/%d", 1, Day, Year+1); }
            format(string, sizeof(string), "Join Date: %s, Expire Date: %s", PlayerInfo[giveplayerid][pVIPJoinDate], PlayerInfo[giveplayerid][pVIPExpDate]);
            SendClientMessage(giveplayerid, COLOR_GRAD2, string);
Thanks for the helper.
Reply


Messages In This Thread
VIP system help.. - by TheBlackKnight - 28.09.2012, 10:22
Re: VIP system help.. - by TheBlackKnight - 28.09.2012, 11:39

Forum Jump:


Users browsing this thread: 1 Guest(s)