yini not working?
#1

I use to use mysql to make accounts and such but that no longer works, so i am trying to use yini for the first time and its simply just not working. Any ideas?

pawn Код:
INI:myini[](name[], value[])
{
    INI_String("NAME", nameTest, sizeof(nameTest));
    INI_Int("SCORE", scoreTest);
    return 0; // This is now required.
}
public OnGameModeInit()
{
    new INI:ini = INI_Open("users/myini.ini");
    INI_WriteString(ini, "NAME", "******");
    INI_WriteInt(ini, "SCORE", 5);
    INI_WriteFloat(ini, "HEALTH", 34.5);
    INI_Close(ini);
   
    INI_Load("myini.ini");
   
    printf("string: %s", nameTest);
    printf("int: %i", scoreTest);
Reply


Messages In This Thread
yini not working? - by DarrenReeder - 15.07.2012, 11:28
Re: yini not working? - by [MM]RoXoR[FS] - 15.07.2012, 11:44

Forum Jump:


Users browsing this thread: 1 Guest(s)