26.10.2012, 12:47
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
Then I need to compare it with value from my file and to get info from my file i use
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
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
So to get altitude i use
Код:
GetPlayerAltitude(playerid)
Код:
dUserINT(Name(playerid)).("Lowest");
Код:
dUserSetINT(Name(playerid)).("Lowest", VALUE HERE);