Help with getting a bool value
#1

pawn Код:
stock bool:udb_UserBool(nickname[],key[]) { //the bool was Float lol thats what caused the problem
  new fname[MAX_STRING];
  format(fname,sizeof(fname),"ladmin/users/%s.sav",udb_encode(nickname));
  return dini_Bool(fname,key) ? true : false;
}
I have added that stock to an include (lethaldudb2), but when i compile with it I get a warning at the " return dini_Bool(fname,key) ? true : false; " line:
Код:
 warning 213: tag mismatch
Any help on getting the bool value?
Reply


Messages In This Thread
Help with getting a bool value - by Battlezone - 05.08.2014, 17:21
Re: Help with getting a bool value - by Dignity - 05.08.2014, 17:26
Re: Help with getting a bool value - by Battlezone - 05.08.2014, 17:28
Re: Help with getting a bool value - by Battlezone - 05.08.2014, 17:33

Forum Jump:


Users browsing this thread: 2 Guest(s)