-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvip_system.shc
More file actions
32 lines (30 loc) · 1 KB
/
vip_system.shc
File metadata and controls
32 lines (30 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* ===============================================================
Sistema VIP
================================================================
----------------------------------------------------------------
COMPATIBILIDADE
Hercules
----------------------------------------------------------------
VERSÕES
1.0 Criação [QuodDG]
----------------------------------------------------------------
unix_timestamp(timestampadd(DAY, 30, now()))
* ================================================================
*/
- script VIPSystem -1,{
end;
OnPCLoginEvent:
#QDOVIP = 0;
//== Período de Testes
#QDOVIPTIME = gettimetick(2) + 86400;
//== +1 dia de VIP
if(getstatus(SC_CASH_PLUSEXP) == 1){
sc_end(SC_CASH_PLUSEXP);
}
if(getgmlevel() < 2 && #QDOVIPTIME > gettimetick(2)){
#QDOVIP = 1;
sc_end(SC_CASH_PLUSEXP);
sc_start(SC_CASH_PLUSEXP, (12 * 60 * 60000), 50);
}
end;
}