score help for server
#3

Quote:
Originally Posted by 3xPloSioNxXx
Easy
do it like this:
On the top of your script,after the includes put:
pawn Код:
forward ScoreTimer(playerid);
Under OnPlayerConnect:
pawn Код:
SetTimerEx("ScoreTimer",60000,0,"d",playerid);
And in the end of the script,make a callback,here:
pawn Код:
public ScoreTimer(playerid)
{
    SetPlayerScore(playerid,(playerid)+1);
    return 1;
}
Hope i helped.
PS:now after every 60 seconds everyone will get +1 point
I've tested it,its working
TY very much
Reply


Messages In This Thread
score help for server - by Nathanael_Tavares - 04.10.2009, 22:12
Re: score help for server - by [XST]O_x - 04.10.2009, 23:19
Re: score help for server - by Nathanael_Tavares - 04.10.2009, 23:21
Re: score help for server - by pagie1111 - 05.10.2009, 10:41
Re: score help for server - by [XST]O_x - 05.10.2009, 10:43
Re: score help for server - by pagie1111 - 05.10.2009, 10:48
Re: score help for server - by dice7 - 05.10.2009, 12:04

Forum Jump:


Users browsing this thread: 1 Guest(s)