Posts: 157
Threads: 32
Joined: Oct 2012
Reputation:
0
hi,
is that possible to read numbers and letters from txt into one line ?
for explain i have "Buddy - Mario 897897" how can i read the "Mario 897897"
Thanks
Posts: 322
Threads: 29
Joined: Feb 2012
Reputation:
0
Just read it seperate and stick them with format
Posts: 322
Threads: 29
Joined: Feb 2012
Reputation:
0
You can't use string as an integer, change dini_Int to dini_Str
Posts: 157
Threads: 32
Joined: Oct 2012
Reputation:
0
error 017: undefined symbol "dini_Str"
You srsly ? i cant find nothing about dini_Str
Posts: 201
Threads: 39
Joined: Oct 2011
Aynone else can help us here?
Posts: 322
Threads: 29
Joined: Feb 2012
Reputation:
0
For strings use dini_Get ->
format(message, sizeof(message),"[%s]\n",message, dini_Get(iFile,"buddy1"));
Posts: 201
Threads: 39
Joined: Oct 2011
When I use dini_Get this dialog wont even appear to the player.
its not only string its a name and a number example : Jason 112233
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
The point of ini files is that you have a separate key for each value. (Also stop using dini, please!)