Race times.. Linux server
#3

You'd have to make a 10 ms timer that adds to a server wide variable. Then when the rae starts you save a player specific variable with the value that the time variable has, then at the end, you take the current time and subtract it from the player's held time, and you'd get how many 10ths of a second it took for them to finish.
Reply


Messages In This Thread
Race times.. Linux server - by Outbreak - 22.07.2009, 18:53
Re: Race times.. Linux server - by Outbreak - 23.07.2009, 22:19
Re: Race times.. Linux server - by Joe Staff - 23.07.2009, 22:24
Re: Race times.. Linux server - by Outbreak - 23.07.2009, 22:27
Re: Race times.. Linux server - by Joe Staff - 23.07.2009, 22:32
Re: Race times.. Linux server - by M4S7ERMIND - 23.07.2009, 22:38
Re: Race times.. Linux server - by Joe Staff - 23.07.2009, 22:51
Re: Race times.. Linux server - by Outbreak - 24.07.2009, 22:25
Re: Race times.. Linux server - by Joe Staff - 24.07.2009, 22:38

Forum Jump:


Users browsing this thread: 2 Guest(s)