Need help with y_ini.
#1

Allright, so I've been using Dini for quite a long time now. Now, I want to upgrade to something faster, as I've heard, Dini was one of the slowest *.ini file writers/readers. I then read something about ******'s y_ini. It seemed like something I wanted to use, but I've a few questions about it.

Can y_ini be used together with enum?
With all the examples I've seen around the forum, people always used PVars. But can enum still be used, as I think it's easier?

Example:
pawn Код:
enum PlayerData
{
    Name[MAX_PLAYER_NAME]
}
new pData[MAX_PLAYERS][PlayerData]

INI_WriteString(ini, "NAME", pData[playerid][Name]);
Can someone please explain, a little more in depth, how you read strings, integers and floats using y_ini?

- Thanks in advance!
Reply
#2

There is a topic with 100+ replies about y_ini, go through it! Or check out some of the scripts around the forums. They might help. GL
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)