Help| how i do it
#1

How do I change this code to Y_ini?:

PHP код:
dini_IntSet(MAIN,"Users",dini_Int(MAIN,"Users")+1); 
Reply
#2

Welcome, it should look like that

pawn Код:
// global
new gInteger;
pawn Код:
INI_ParseFile(MAIN, "LoadUsers");

new
    INI: ini = INI_Open(MAIN);
INI_WriteInt(ini, "Users", gInteger + 1);
INI_Close(ini);
pawn Код:
forward LoadUsers(name[], value[]);
public LoadUsers(name[], value[]) {
    INI_Int("Users", gInteger);
}
Maybe read the tutoiral again How to use y_ini
Reply
#3

Thank!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)