Dini Warnings
#3

pawn Код:
dini_FloatSet(file, "PosX",PlayerInfo[playerid][pPosX]); // 129
dini_FloatSet(file, "PosY",PlayerInfo[playerid][pPosY]); // 130
dini_FloatSet(file, "PosZ",PlayerInfo[playerid][pPosZ]); // 131
pawn Код:
dini_FloatSet(file, "PosX",PlayerInfo[playerid][pPosX] = 1.808619); // 381
dini_FloatSet(file, "PosY",PlayerInfo[playerid][pPosY] = 32.384357); // 382
dini_FloatSet(file, "PosZ",PlayerInfo[playerid][pPosZ] = 1199.593750); // 383
You have used dini_IntSet, which means you set an Integer. But as the 1199.59 is a Float, you have to use dini_FloatSet. Easy eh^^.

Greetz!
Reply


Messages In This Thread
Dini Warnings - by cre8ticity - 29.10.2010, 12:53
Re: Dini Warnings - by pater - 29.10.2010, 13:31
Re: Dini Warnings - by Jeffry - 29.10.2010, 14:51
Re: Dini Warnings - by pater - 29.10.2010, 16:18

Forum Jump:


Users browsing this thread: 1 Guest(s)