Dini and Dialog help
#1

Hello,

I have made a dini code but I don't know why Im receiving errors:

CODE:

Код:
dini_FloatSet(file, "PlayerPos:x", PlayerInfo[playerid][pFloat:x] = 832.2277);
dini_FloatSet(file, "PlayerPos:y", PlayerInfo[playerid][pFloat:y] = -2065.9692);
dini_FloatSet(file, "PlayerPos:z", PlayerInfo[playerid][pFloat:z] = 12.8672);
ERROR:

Код:
warning 213: tag mismatch
for this 3 only

and for Dialogs
CODE:

Код:
ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD
ERROR:

Код:
Undefined DIALOG_STYLE_PASSWORD
LOL?

Thank You!
Reply
#2

Make sure you're using the 0.3d/0.3e includes. You may have multiple pawno folders.
Reply
#3

you doing it wrong

pawn Код:
dini_FloatSet(file, "PlayerPos:x", PlayerInfo[playerid][pFloat:x] = 832.2277);
dini_FloatSet(file, "PlayerPos:y", PlayerInfo[playerid][pFloat:y] = -2065.9692);
dini_FloatSet(file, "PlayerPos:z", PlayerInfo[playerid][pFloat:z] = 12.8672);
wrong.

it must be

pawn Код:
dini_FloatSet(file, "PlayerPos:x", PlayerInfo[playerid][x] = 832.2277);
dini_FloatSet(file, "PlayerPos:y", PlayerInfo[playerid][y] = -2065.9692);
dini_FloatSet(file, "PlayerPos:z", PlayerInfo[playerid][z] = 12.8672);
edit your enum and find

pawn Код:
x,
y,
z,
make

pawn Код:
x,
y,
z,
into

pawn Код:
Float:x,
Float:y,
Float:z,
Reply
#4

I have it already, IK. Thank you : ), Thank you all and mike you are right
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)