Few warning and error
#5

Quote:
Originally Posted by Anthonyx3'
Посмотреть сообщение
pawn Код:
(896) : error 035: argument type mismatch (argument 2)
Is the only error, along side the warnings.

Line 896:
pawn Код:
GetPlayerPos(playerid, X, Y, Z);
There's nothing wrong with that if you have defined the variables properly like: Float:X.

Edit:
pawn Код:
case 1:
        {

        new Float:pX, Float:pY, Float:pZ;
        GetPlayerPos(playerid, pX, pY, pZ);
        PlayerInfo[playerid][X1] = pX;
        PlayerInfo[playerid][Y1] = pY;
        PlayerInfo[playerid][Z1] = pZ;
        dini_IntSet(file, "Money", GetPlayerCash(playerid));
        dini_IntSet(file, "AdminLevel",PlayerInfo[playerid][AdminLevel]);
        dini_IntSet(file, "Frank",PlayerInfo[playerid][pFrank]);
        dini_IntSet(file, "Interior",PlayerInfo[playerid][pInterior]);
        dini_IntSet(file, "Skin",GetPlayerSkin(playerid));
        dini_IntSet(file, "Faction",PlayerInfo[playerid][pFaction]);
        dini_IntSet(file, "Sex",PlayerInfo[playerid][pGender]);

        dini_FloatSet(file, "Posx",PlayerInfo[playerid][X1]);
        dini_FloatSet(file, "Posy",PlayerInfo[playerid][Y1]);
        dini_FloatSet(file, "Posz",PlayerInfo[playerid][Z1]);

        }
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)