Making the Kills == Score
#5

Quote:
Originally Posted by Tigerbeast11
Is it possible to set a timer which updates the score every second or so?
Use a timer of one second,

SetTimer("UpdateScore", 1000, 1);

Than inside the UpdateScore function do SetPlayerScore(playerid, GetPlayerScore(playerid)+1); - Make sure the UpdateScore function is a public.
Reply


Messages In This Thread
Making the Kills == Score - by Tigerbeast11 - 03.11.2009, 17:12
Re: Making the Kills == Score - by Daren_Jacobson - 03.11.2009, 17:24
Re: Making the Kills == Score - by Tigerbeast11 - 03.11.2009, 17:25
Re: Making the Kills == Score - by Tigerbeast11 - 05.11.2009, 17:20
Re: Making the Kills == Score - by Danny_Costelo - 05.11.2009, 17:27
Re: Making the Kills == Score - by Tigerbeast11 - 05.11.2009, 17:33

Forum Jump:


Users browsing this thread: 1 Guest(s)