get offline info (yini) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: get offline info (yini) (
/showthread.php?tid=607366)
get offline info (yini) - antoinefr - 18.05.2016
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
Re: get offline info (yini) -
BloodyRP - 18.05.2016
No, u can't do that.
For options like this u need to use MySQL.
Re: get offline info (yini) -
Konstantinos - 18.05.2016
https://sampforum.blast.hk/showthread.php?tid=386144
https://sampforum.blast.hk/showthread.php?tid=552419
Re: get offline info (yini) -
BloodyRP - 18.05.2016
Quote:
Originally Posted by Konstantinos
|
That should be very laggy, cuz lot accounts, large size of file and etc. >_>
Just IMHO.
Re: get offline info (yini) -
Konstantinos - 18.05.2016
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.
Re: get offline info (yini) - antoinefr - 18.05.2016
Thanks for these informations