[HELP] Saving player pos
#2

Are PlayerInfo[playerid][pPosX], PlayerInfo[playerid][pPosY] and PlayerInfo[playerid][pPosZ] defined as floats?

Like:
pawn Код:
enum pInfo
{
  Float:pPosX,
  Float:pPosY,
  Float:pPosZ
};
You probably forgot the Float: tag.

EDIT: Here's another reason for the warning:
You're using dUserSetINT which is only for INTEGERS. Use dUserSetFLOAT for FLOAT numbers.
Reply


Messages In This Thread
[HELP] Saving player pos - by Lorrden - 14.10.2009, 14:22
Re: [HELP] Saving player pos - by Correlli - 14.10.2009, 14:28
Re: [HELP] Saving player pos - by Lorrden - 14.10.2009, 14:37
Re: [HELP] Saving player pos - by Correlli - 14.10.2009, 14:44

Forum Jump:


Users browsing this thread: 1 Guest(s)