How to get a bool using dini.
#5

Quote:
Originally Posted by cesar_******
Посмотреть сообщение
pawn Код:
stock bool:dini_Bool(filename[],key[]) {
   return bool:strval(dini_Get(filename,key));
}
Ye, well but you need to use "? true : false; after the dini_Bool(filename, key);

Which will look like this:
pawn Код:
dini_Bool(filename, key) ? true : false;
Thank you anyway!
Reply


Messages In This Thread
How to get a bool using dini. - by Denying - 15.03.2013, 08:29
Re: How to get a bool using dini. - by Glad2BeHere - 15.03.2013, 08:35
Re: How to get a bool using dini. - by Denying - 15.03.2013, 08:37
Respuesta: How to get a bool using dini. - by Parka - 15.03.2013, 08:40
Re: Respuesta: How to get a bool using dini. - by Denying - 15.03.2013, 08:41

Forum Jump:


Users browsing this thread: 1 Guest(s)