09.06.2012, 19:55
hey guys,
i searched on ****** for this but couldnt specifically find this...
my question is:
how to make it that when a player starts at his race( i have a command for that etc, i just need a timer with right funcs) a timer gets started and when he reaches the finish(also have a thingy for that under onplayerupdate ) that the timer stops and checks the time it took the player to reach the finish...
and if the time is faster then the fastest driven time of that race it says to EVERYONE online that the record is broken and also what the previous time was and what the new highscore is... so something like this comes ingame:
Player [drifters]niels has broken the record of Niels44 with a time of 1 minute and 12 seconds, previous record was: 1 minute and 15 seconds.
how can i make this?
greets niels
also REP+ for the ones who help me
i searched on ****** for this but couldnt specifically find this...
my question is:
how to make it that when a player starts at his race( i have a command for that etc, i just need a timer with right funcs) a timer gets started and when he reaches the finish(also have a thingy for that under onplayerupdate ) that the timer stops and checks the time it took the player to reach the finish...
and if the time is faster then the fastest driven time of that race it says to EVERYONE online that the record is broken and also what the previous time was and what the new highscore is... so something like this comes ingame:
Player [drifters]niels has broken the record of Niels44 with a time of 1 minute and 12 seconds, previous record was: 1 minute and 15 seconds.
how can i make this?
greets niels
also REP+ for the ones who help me