11.06.2015, 22:16
hello guys , i have a question , how can you read from here that player is given 1 month GOLD VIP?
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!
Код:
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;
Thank you for the help!