VIP DIA/MES/ANO - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: VIP DIA/MES/ANO (
/showthread.php?tid=652582)
VIP DIA/MES/ANO -
Shuffle013 - 14.04.2018
Queria por tipo uma validade pra expirar o vip sozinho ,pra min nao te que marca os dia do player e tirar eu msmo
Re: VIP DIA/MES/ANO -
UFF - 15.04.2018
new VIPTemp;
UnderOngameInit()
VIPTemp = 0;
if it's a command or a dialog response use this.
VIPTemp = gettime() + 86400 * 7;
Gettime() is to Store the current UNIX timestamp. (Use your variable)
86400 * 7; - 7 days VIP.
hope you got it!