SA-MP Forums Archive
Some question about yini - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Some question about yini (/showthread.php?tid=569092)



Some question about yini - Adarsh007 - 28.03.2015

Hello.
I want to ask some question about yini.


Currently I am Using ddub Saving method to save player accounts but I want to move to yini.

In ddub I am Using this function to check player's admin level -
#1
Код:
if(AdminLevel[playerid] >= 1
But if i use yini I have to use this code ?
Код:
pInfo[playerid][Adminlevel]
??

(Im asking this question because i have alot of status/class on which #1 type of code is used to verify data so i can start my work...)


Re: Some question about yini - Khanz - 28.03.2015

http://forum.sa-mp.com/forumdisplay.php?f=12


Re: Some question about yini - Adarsh007 - 28.03.2015

Oh ! -_-

Just tell me that can i use #1 Verify method or not... :/


Re: Some question about yini - Kaperstone - 28.03.2015

This is an array.
You can name it however you want, but you will need to keep consistency in the name, so adminArray won't be the same as admin_array.


Re: Some question about yini - Adarsh007 - 29.03.2015

okay thanks

I ll give it a try