28.09.2012, 10:22
(
Последний раз редактировалось TheBlackKnight; 28.09.2012 в 10:23.
Причина: Fixing
)
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:
Thanks for the helper.
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);