Chat global
TEMPO dos Itens premium iniciais

Bom dia Galera, estarei postando alguns tutoriais da minha source que deixei como base pra estudos.
hoje vou ensinar como alterar o tempo dos itens premium iniciais.
Abra o arquivo OnServer.CPP
e procure por: // Itens Premiuns Iniciais
abaixo estará assim:
// Itens Premiuns Iniciais
lpPlayInfo->dwTime_PrimeItem_ExpUp = (60 * 15);
lpPlayInfo->dwTime_PrimeItem_ManaReduce = (60 * 15);
lpPlayInfo->dwTime_PrimeItem_VampCuspid = (60 * 15);
lpPlayInfo->dwTime_PrimeItem_ManaRecharg = (60 * 15);
lpPlayInfo->dwTime_PrimeItem_StaminaReduce = (60 * 15);
lpPlayInfo->dwTime_PrimeItem_PhenixPet = (60 * 15);
lpPlayInfo->dwPrimeItem_NextSetTime = 0;
lpPlayInfo->dwPrimeItem_PackageCode = 0;
rsSendGameServer_PrimeItem(lpPlayInfo);
(60 * 15); = representa o valor de 15 minutos
caso quiser deixar o valor de 24h "pro exemplo", coloque esse valor
(60 * 60 * 24);
utilize a base para colocar o valor desejado e seja feliz
- 19 Fóruns
- 144 Tópicos
- 694 Posts
- 3 Online
- 160 Membros