Please help! array must be indexed (variable "inputtext")
#4

Quote:
Originally Posted by Grim_
Посмотреть сообщение
inputtext is an array, specifically a string in this instance. You will need to convert the string to an integer to use the addition operator.
pawn Код:
// Maybe should be dini_SetInt?
dini_Set(file, "WDCK", dini_Int(file, "WDCK")+strval(inputtext));
Regardless, I suggest you switch to a database for data management (SQLite/MySQL). It will make your life much easier when you want to make more complex systems. Plus, dini is horribly outdated now days (and slow!).
I`ll try this.But SQLite/MySQL which better?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)