[Bool problem solved] dini_Float returns 0.0?
#1

I can't do this... dini_Int and dinit_Bool both makes a tag mismatch..
New problem: dini_Float returns 0.0. Read last post from me.
Reply
#2

Use
Код:
dini_BoolSet
and later
Код:
dini_Bool
Reply
#3

Doesn't work...

BTW: dini_Bool and dini_Int are the same
Reply
#4

Hm xD show your code maybe
Reply
#5

I am now on my PSP, so I can't give the full code:
pawn Код:
enum Blah
{
  bool:Thingy
}
new Cow[MAX_PLAYERS][Blah]

//DCMD Register
dini_BoolSet(file, "boolthing", false); //'file' does work because i formatted the filename
Cow[playerid][Thingy] = false

//DCMD login
Cow[playerid][Thinghy] = dini_Int(file, "boolthing");//here is the warning
Tag Mismatch
Reply
#6

Then use
Код:
Cow[playerid][Thinghy] = dini_Bool(file, "boolthing");
? its tag.. to?
Reply
#7

dini_Bool and dini_Int are exactly the same when you take a look in dini.inc, so tgat can't be the problem. I even tryed dini_Bool, without succes.
Reply
#8

Int is strval
Bool is booltrval so not the same
Reply
#9

cows and boolthingy's.. what kind of script is this? a farmers milking schedual?
Reply
#10

@jefffffff:
not here, so i'm going to edit that.

@antonio:
rofl, its not the real script, its just a lolled example
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)