21.08.2010, 10:18
(
Последний раз редактировалось iggy1; 21.08.2010 в 10:20.
Причина: mistake
)
No.
I dont use dini i use djson but i think its simalar in the way its set out so shouldnt it look like something lke this?.
Obviously thats not the function you want but i think it should be simalar to that, as file is just an empty array without formatting it.
I dont use dini i use djson but i think its simalar in the way its set out so shouldnt it look like something lke this?.
pawn Код:
new file[50];
pawn Код:
format(file,sizeof(file),"%s.ini",playername(playerid));
pawn Код:
dini_IntSet(file "Weed", dini_Int(file, "Weed")-strval(amount));