score system ?
#4

First you'll need to make a timer like this
pawn Code:
SetTimer("OnlineTimer",100000,true);
//OnlineTimer is the name of a timer
//100000 is the time = 10 min
//false is if the timer will repeat
//EDIT: put this under your OnPlayerSpawn or OnPlayerConnect callback.
Than public it:
pawn Code:
public OnlineTimer
{
    new score = GetPlayerScore(playerid);
SetPlayerScore(playerid,score+1);
return 1;
//EDIT: Put this at the bottom of your script.
}
Untested. I hope it will work
Reply


Messages In This Thread
score system ? - by antsolen - 06.11.2010, 17:48
Re: score system ? - by Mike_Peterson - 06.11.2010, 17:54
Re: score system ? - by antsolen - 06.11.2010, 17:55
Re: score system ? - by Alex_Valde - 06.11.2010, 17:56
Re: score system ? - by Mike_Peterson - 06.11.2010, 18:04
Re: score system ? - by Alex_Valde - 06.11.2010, 18:11
Re: score system ? - by antsolen - 06.11.2010, 18:56
Re: score system ? - by Alex_Valde - 06.11.2010, 19:04
Re: score system ? - by antsolen - 06.11.2010, 19:26
Re: score system ? - by Alex_Valde - 06.11.2010, 19:34

Forum Jump:


Users browsing this thread: 2 Guest(s)