some VIP system help
#1

hello guys , i have a question , how can you read from here that player is given 1 month GOLD VIP?
Код:
				SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won one month of Gold VIP!");
				SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Note: This rare reward may take up to 48 hours to be rewarded.");
				format(PlayerInfo[giveplayerid][pFlag], 128, "Free Gold VIP (Gift)");
				format(string, sizeof(string), "{AA3333}AdmWarning{FFFF00}: %s has just gifted %s and he won one month of Gold VIP.", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid));
				ABroadCast(COLOR_YELLOW, string, 2);
				new year,month,day,log[128];
				getdate(year, month, day);
				format(log, sizeof(log), "AdmCmd: %s has just gifted %s and he won one month of Gold VIP(%d-%d-%d)", GetPlayerNameEx(playerid), GetPlayerNameEx(giveplayerid), month, day, year);
				Log("logs/gifts.log", log);
				format(string, sizeof(string), "%s was just gifted one month of Gold VIP, enjoy!", GetPlayerNameEx(giveplayerid));
				ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
			}
		}
		PlayerInfo[giveplayerid][pGiftTime] = 300;
the reason i ask for this is i wanna remake my VIP system so i can give player a monthly VIP

Thank you for the help!
Reply


Messages In This Thread
some VIP system help - by FexTern - 11.06.2015, 22:16
Re: some VIP system help - by Trevor Gin - 11.06.2015, 22:21
Re: some VIP system help - by FexTern - 11.06.2015, 22:22
Re: some VIP system help - by FexTern - 11.06.2015, 22:33
Re: some VIP system help - by BornHuman - 11.06.2015, 22:40
Re: some VIP system help - by Trevor Gin - 12.06.2015, 18:21

Forum Jump:


Users browsing this thread: 2 Guest(s)