Chat global

Chat
Loading the chat ...
TEMPO dos Itens pre...
 
Notifications
Clear all

TEMPO dos Itens premium iniciais

1 Posts
1 Usuários
4 Reactions
31 Visualizações
paladinoxd
(@paladinoxd)
Posts: 17
Mentor Respeitado
Topic starter
 

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

 

 
Postado : 27/08/2025 11:24 am
jhonnr18, HyVong, Will and 1 people reacted
Compartilhar:

Anúncio