Player score
#9

There's a samp function that counts the miliseconds since player was connected... simply use that...

this is mine, something similiar to yours:

PHP код:

forward TimeOnline
();
public 
TimeOnline()
{    
    foreach(
Playeri)
    {
        new 
seconds NetStats_GetConnectedTime(i) / 1000;
        new 
minutes seconds 60;
        if(
minutes >= 60)
        {
            
SendClientMessage(iCOLOR_RED"You've been online for 1 hour!");
            
PayDay(i);
        }
// and so on...

Reply


Messages In This Thread
Player score - by Tass007 - 22.09.2016, 11:44
Re: Player score - by Shaheen - 22.09.2016, 12:28
Re: Player score - by Marricio - 22.09.2016, 12:38
Re: Player score - by Tass007 - 22.09.2016, 12:45
Re: Player score - by Konstantinos - 22.09.2016, 12:48
Re: Player score - by Tass007 - 22.09.2016, 13:07
Re: Player score - by Konstantinos - 22.09.2016, 13:11
Re: Player score - by StR_MaRy - 22.09.2016, 13:21
Re: Player score - by iLearner - 22.09.2016, 13:50
Re: Player score - by Marricio - 22.09.2016, 14:22

Forum Jump:


Users browsing this thread: 10 Guest(s)