[Tutorial] How To Make Score System With Timers
#13

Quote:
Originally Posted by Lorenc_
Посмотреть сообщение
Btw, via my system to add timing
pawn Код:
new NewTime[MAX_PLAYERS];
Ongamemodeonit:
pawn Код:
SetTimerEx("AddScore1", NewTime[playerid], true, "i", playerid);
A timer to detect if the player is level 0..
pawn Код:
if(LevelPlayer[playerid] == 0)
      {
              NewTime[playerid] = 60000;
      }
pawn Код:
public Timer(playerid)
{
      LevelPlayer[playerid]++;
      NewTime[playerid] = NewTime[playerid] + 60000;
      new string[50];
      format(string, sizeof(string), "You are now level %i.",LevelPlayer[playerid]);
      SendClientMessage(playerid, COLOR_, string);
      return 1;
}
I think its like for adding extra time, correct me if im wrong there, UNTESTED.

Can you help me with that score thing becouse i get errors :S
Reply


Messages In This Thread
How To Make Score System With Timers - by -•♥♠♦♣-•Arshavin•-♥♠♦♣•- - 06.01.2011, 22:51
AW: How To Make Score System With Timers - by NuggaN_ - 08.01.2011, 05:39
Re: How To Make Score System With Timers - by Souvlaki - 08.01.2011, 05:43
Re: How To Make Score System With Timers - by admantis - 08.01.2011, 05:45
Re: How To Make Score System With Timers - by Lorenc_ - 08.01.2011, 06:03
AW: How To Make Score System With Timers - by NuggaN_ - 08.01.2011, 06:21
Re: How To Make Score System With Timers - by admantis - 08.01.2011, 06:23
Re: How To Make Score System With Timers - by Lorenc_ - 08.01.2011, 06:40
Re: AW: How To Make Score System With Timers - by Tee - 08.01.2011, 06:41
Re: How To Make Score System With Timers - by ToPhrESH - 08.01.2011, 06:47
Re: How To Make Score System With Timers - by -•♥♠♦♣-•Arshavin•-♥♠♦♣•- - 08.01.2011, 06:51
Re: AW: How To Make Score System With Timers - by -•♥♠♦♣-•Arshavin•-♥♠♦♣•- - 08.01.2011, 06:55
Re: How To Make Score System With Timers - by Stefand - 13.11.2011, 09:54
Re: How To Make Score System With Timers - by Kostas' - 13.11.2011, 10:10
Re: How To Make Score System With Timers - by Janek17 - 21.12.2011, 18:52
Re: How To Make Score System With Timers - by LaGrande - 29.04.2012, 21:18
Re: How To Make Score System With Timers - by ReD_HunTeR - 01.12.2012, 19:27
Re: How To Make Score System With Timers - by xMCx - 05.12.2012, 14:29
Re: How To Make Score System With Timers - by --LooD-- - 05.12.2012, 20:58
Re: How To Make Score System With Timers - by UserName31 - 01.02.2014, 14:58

Forum Jump:


Users browsing this thread: 3 Guest(s)