Grabbing name and value from userfiles?
#1

Is there away to grab a name and value from a file?
Like for example: Player file would have Banned = 1, how would I get that from the players file so it can be used to check if a player is already banned with a command?

I'm using Y_INI.
Reply
#2

You can use INI_Int if the function still exists. Check YSI wiki, or ******'s topic regarding it. Remember to

pawn Код:
Ini_WriteInt(somefilename,"Banned",somevalue);
Forgive me, its been a while since using y_ini.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)