error 035: error 035: argument type mismatch (argument 1)
#7

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?.

pawn Код:
new file[50];
pawn Код:
format(file,sizeof(file),"%s.ini",playername(playerid));
pawn Код:
dini_IntSet(file "Weed", dini_Int(file, "Weed")-strval(amount));
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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)