Playing Hour System?
#2

Something like this I guess:

pawn Код:
// under OnGameModeInit

SetTimer("LevelUp",3600000,1); // 60 minutes

// bottom of script

forward LevelUp(playerid);
public LevelUp(playerid)
{
    // use your variables / playerinfo information here like if(PlayerInfo[playerid][LoggedIn] == 1) etc..
   
    SendClientMessage(playerid,-1,"You've Played For An Hour!  Received +1 Score.");
    SetPlayerScore(playerid,GetPlayerScore(playerid) +1);

    return 1;
}
Reply


Messages In This Thread
Playing Hour System? - by seanny - 20.10.2011, 18:02
Re: Playing Hour System? - by grand.Theft.Otto - 20.10.2011, 18:07
Re: Playing Hour System? - by seanny - 20.10.2011, 18:54
Re: Playing Hour System? - by Stigg - 20.10.2011, 18:55
Re: Playing Hour System? - by seanny - 20.10.2011, 18:56
Re: Playing Hour System? - by Macluawn - 20.10.2011, 19:03
Re: Playing Hour System? - by grand.Theft.Otto - 20.10.2011, 19:04
Re: Playing Hour System? - by seanny - 20.10.2011, 19:05
Re: Playing Hour System? - by Macluawn - 20.10.2011, 19:09
Re: Playing Hour System? - by seanny - 20.10.2011, 19:13

Forum Jump:


Users browsing this thread: 2 Guest(s)