27.10.2012, 19:18
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.
I want to get the Best Time, so anyone can help ?
So, I tried many things to compare the variables.
pawn Код:
if ( LMin >= TMn [ playerid ] && LSec >= TSc [ playerid ] )
{
//Functions.
}