15.08.2012, 23:15
DINI is slow and old, use Y_ini.
How?
1. Treat the gender as a variable, 1 = male, 2 = female.
2. Save it in the player's file once they did enter it..INI_WriteInt(File, "Gender", PlayerInfo[playerid][pGender]);
3. Don't forget to load it on login...INI_Int(File, "Gender", PlayerInfo[playerid][pGender]);
4. Hope this helps
How?
1. Treat the gender as a variable, 1 = male, 2 = female.
2. Save it in the player's file once they did enter it..INI_WriteInt(File, "Gender", PlayerInfo[playerid][pGender]);
3. Don't forget to load it on login...INI_Int(File, "Gender", PlayerInfo[playerid][pGender]);
4. Hope this helps