28.07.2015, 21:57
Hi, How can i script like if a player join and after 20 mins player should get this
i added it in my ways but it counts all players as same time. It should count if a player joined the server and count player time after 20mins it should give. Did u get guys? Help me!
i added it in my ways but it counts all players as same time. It should count if a player joined the server and count player time after 20mins it should give. Did u get guys? Help me!
PHP код:
//Interest
if(pData[i][pBankMoney] > 0)
{
new interest = pData[i][pBankMoney]/64;//1.5%
pData[i][pBankMoney] = pData[i][pBankMoney] + interest;
format(string, sizeof(string), "[Interest]: You have gained $%d in bank interest.", interest);
SendClientMessage(i, GREEN, string);
}