Comparing value of a string with another number
#4

After many tries I always can't do it so I exacly explain what i want to do. I want to get value of player altitude. I use iparachute include found here: https://sampforum.blast.hk/showthread.php?tid=356826
So to get altitude i use
Код:
GetPlayerAltitude(playerid)
Then I need to compare it with value from my file and to get info from my file i use
Код:
dUserINT(Name(playerid)).("Lowest");
Values in my file is just integers. And after that all if the condition is met I want to type it to the file. For that I use this
Код:
dUserSetINT(Name(playerid)).("Lowest", VALUE HERE);
I want to compare it like, if is altitude smaller than value from the file, then write it to the file. If somebody care about include i use to read and write, tell me. Thanks for your reply
Reply


Messages In This Thread
Comparing value of a string with another number - by GTXcube - 25.10.2012, 21:25
Re: Comparing value of a string with another number - by mamorunl - 25.10.2012, 21:34
Re: Comparing value of a string with another number - by ReneG - 25.10.2012, 22:08
Re: Comparing value of a string with another number - by GTXcube - 26.10.2012, 12:47
Re: Comparing value of a string with another number - by GTXcube - 26.10.2012, 13:41
Re: Comparing value of a string with another number - by GTXcube - 27.10.2012, 15:08

Forum Jump:


Users browsing this thread: 1 Guest(s)