Comparison?
#1

Hi!

I try to understand as a comparison, let me explain:

I have a field "Use" in my db, shown in Player_info[playerid][p_Use] in the GM.:

How to compare this value an hour earlier, let:

I want to retrieve this value there is one hour (or more, whatever) with that now.

Is this possible?
Reply
#2

I'm not sure I understood, please correct me:

You want to use a "playerinfo" variable and you want to compare it to the value it used to be an hour ago??
Reply
#3

My variable Player_info [playerid] [p_Use] a possibility to change at any time.
However, I want it to backup every hour to be able to compare to the current one ..
Reply
#4

I don't really see the point, but I guess you got your own reasons.

Try setting a timer each hour to "pre-save" the playerinfo (and if you wish you can do this with all of your variables, not just the one you talked about), and in that timer save the variable, and then compare it.

I hope it makes sense. Please reply if you need asistance
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)