Quote:
Originally Posted by [Banido]HigorOliver
Vou fazer um simples mais nao junto com o sistema saka sу
pawn Код:
#define SLOTS 50 new Vip[SLOTS]; new Minulto[SLOTS];
#define QUINZEDIAS 432000000 #define UMMES 2629800000 #define DOISMES 5259600000
SetTimer("Minultoo",600000,1);
forward Minultoo(); public Minultoo(){ foreach(Player,A){ Minulto[A] +=2; if(Vip[A] == 1) if(PlayerInfo[A][Minulto] >= UMMES) Vip[A] = 0; if(Vip[A] == 2) if(PlayerInfo[A][Minulto] >= DOISMES) Vip[A] = 0; if(Vip[A] == 3) if(PlayerInfo[A][Minulto] >= QUINZEDIAS) Vip[A] = 0; } return true; }
|
уtimo, sу que o timer nгo vai reiniciar caso o player relogue?
e sу irб contar se estiver online nй?