Data comparison.
#1

I am making "Best Times" and I wanna compare variables and get the best time. So, assume LMin and LSec is the varaible in which I loaded the the times from the database and TMn and TSc is the player variables which have the data that the time taken by the player.

So, I tried many things to compare the variables.

pawn Код:
if ( LMin >= TMn [ playerid ] && LSec >= TSc [ playerid ] )
        {
           //Functions.
        }
I want to get the Best Time, so anyone can help ?
Reply


Messages In This Thread
Data comparison. - by Ronaldo_raul™ - 27.10.2012, 19:18
Re: Data comparison. - by Ronaldo_raul™ - 28.10.2012, 07:52
Re: Data comparison. - by AK47317 - 28.10.2012, 13:27
Re: Data comparison. - by Ainseri - 28.10.2012, 13:28
Re: Data comparison. - by Ronaldo_raul™ - 28.10.2012, 14:59
AW: Re: Data comparison. - by Nero_3D - 28.10.2012, 15:16
Re: AW: Re: Data comparison. - by Ronaldo_raul™ - 28.10.2012, 16:54

Forum Jump:


Users browsing this thread: 2 Guest(s)