Samp PAYDAY per user.
#1

PHP код:
OngamemodeInit
SetTimer
("Payday"3600000true);
forward Payday();
public 
Payday()
{
   
    for(new 
i=0MAX_PLAYERSi++)
    {
        
pInfo[i][Money] += 400;
    }
    
SendClientMessageToAll(-1Heres your payday);
    return 
1;

My question is, how can I set this timer, per player in database?

I made this

enum Playerinfo
{
PayDay,
}


Payday row is set on MYSQL database.


and I don't want to make per hour for every player online, I want to set 60 minutes in mysql row, and when their minutes goes 0 it forwards payday + resets timer


and i don't know if payday script is made good
Reply


Messages In This Thread
Samp PAYDAY per user. - by Zeus666 - 16.04.2018, 14:20
Re: Samp PAYDAY per user. - by Mugala - 16.04.2018, 14:26
Re: Samp PAYDAY per user. - by Zeus666 - 16.04.2018, 14:27
Re: Samp PAYDAY per user. - by Twixxx - 16.04.2018, 14:46

Forum Jump:


Users browsing this thread: 1 Guest(s)