27.11.2011, 09:39
Quote:
My bad, it should be "INI_WriteFloat" -
pawn Код:
|
You'll also need:
pawn Код:
new Float:rot;
GetPlayerFacingAngle(playerid, rot);
INI_WriteFloat(File, "PosRot", rot);
or, an addition to SmiT's code: (with fixed tag names)
pawn Код:
new
Float: P[4]
;
GetPlayerPos(playerid, P[0], P[1], P[2]);
GetPlayerFacingAngle(playerid, P[3]);
INI_WriteFloat(File,"PosX", P[0]);
INI_WriteFloat(File,"PosY", P[1]);
INI_WriteFloat(File,"PosZ", P[2]);
INI_WriteFloat(FIle, "PosRot", P[3]