Changing a number in a file using Dini
#1

Hello, I'm looking to set an admin level using a /setadmin command but how do I use Dini to do this?

dini_IntSet(filename[], key[], value)

I know is the command I have to use, but how?
Reply
#2

You can't with dini .. Dini is just for writting files ... you must use dudb
Ex: udb_UserSetInt
Reply
#3

Ok thanks.
Reply
#4

Can you explain more?

If you are just trying to change the value of the admin level, just use dini_IntSet again, because it will just change the existing value in the file.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)