get offline info (yini)
#1

hello,

is there any function for getting offline data such as: GetOfflineData("playername", "value") for yini
for example:
if(GetOfflineData("Sam", "money) == 1)

for offline stats for example

TY
Reply
#2

No, u can't do that.
For options like this u need to use MySQL.
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=386144
https://sampforum.blast.hk/showthread.php?tid=552419
Reply
#4

That should be very laggy, cuz lot accounts, large size of file and etc. >_>
Just IMHO.
Reply
#5

Quote:
Originally Posted by BloodyRP
Посмотреть сообщение
That should be very laggy, cuz lot accounts, large size of file and etc. >_>
Just IMHO.
The number of files does not matter, we are dealing with only one. I doubt there will be more than 100 lines in a single user file and even if that is the case, the code still gets executed relatively fast (I'm referring to the first method).

Threshold's method is actually pretty good too and it'd be the one I'd use if I were the OP.
Reply
#6

Thanks for these informations
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)