02.06.2011, 12:10
Hello everyone.
I have a problem with setting boolian variables in a dini file.
I have this:
And whenever I use this;
or this:
I get a tag mismatch error.
But I don't know what will be saved in the file incase I will change the 1 and 0 to true and false.
+Which strval do I use to boolian arguments? for example:
Please help
Thanks
I have a problem with setting boolian variables in a dini file.
I have this:
pawn Код:
enum locinfo
{
LocNumber,
Float:LocX,
Float:LocY,
Float:LocZ,
Float:LocA,
LocInterior,
LocCreator[MAX_PLAYER_NAME],
Bool:AvailableTeleport,
}
pawn Код:
LocInfo[strlen(tmp)][AvailableTeleport] = 0;
pawn Код:
LocInfo[strlen(tmp)][AvailableTeleport] = 1;
But I don't know what will be saved in the file incase I will change the 1 and 0 to true and false.
+Which strval do I use to boolian arguments? for example:
pawn Код:
LocInfo[id][AvailableTeleport] = strval(Argument[7]);
Thanks