Few warning and error
#9

Another question, why isnt my position being written to my char file at all, disconnect code:
pawn Код:
dini_FloatSet(file, "pX",PlayerInfo[playerid][X1]);
        dini_FloatSet(file, "pY",PlayerInfo[playerid][Y1]);
        dini_FloatSet(file, "pX",PlayerInfo[playerid][Z1]);
Connect Code:
pawn Код:
PlayerInfo[playerid][X1] = dini_Float(file, "pX");

            PlayerInfo[playerid][Y1] = dini_Float(file, "pY");

            PlayerInfo[playerid][Z1] = dini_Float(file, "pZ");

           

            SetSpawnInfo(playerid, PlayerInfo[playerid][pFaction], PlayerInfo[playerid][pSkin], PlayerInfo[playerid][X1], PlayerInfo[playerid][Y1], PlayerInfo[playerid][Z1], 1.0, -1, -1, -1, -1, -1, -1);

            SpawnPlayer(playerid);
Spawns player at 0.0 and doesnt show the pos in the user file.
Reply


Messages In This Thread
Few warning and error - by Anthonyx3' - 30.12.2010, 14:55
Re: Few warning and error - by _rAped - 30.12.2010, 14:56
Re: Few warning and error - by Anthonyx3' - 30.12.2010, 14:57
Re: Few warning and error - by Anthonyx3' - 30.12.2010, 14:59
Re: Few warning and error - by _rAped - 30.12.2010, 15:01
Re: Few warning and error - by MadeMan - 30.12.2010, 15:01
Re: Few warning and error - by Anthonyx3' - 30.12.2010, 15:02
Re: Few warning and error - by _rAped - 30.12.2010, 15:04
Re: Few warning and error - by Anthonyx3' - 30.12.2010, 15:10

Forum Jump:


Users browsing this thread: 2 Guest(s)