Some question about yini
#1

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...)
Reply
#2

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

Oh ! -_-

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

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.
Reply
#5

okay thanks

I ll give it a try
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)