Pick up problem
#4

Why are you using the %d placeholder when you must use %f?
pawn Код:
CMD:pickup(playerid)
{
    new Float:Pos[3];
    GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
    CreatePickup(1582, 1, Pos[0], Pos[1], Pos[2], 0);
    printf("CreatePickup(1582, 1, %f, %f, %f, 0);", Float:Pos[0], Float:Pos[1], Float:Pos[2]);
    return 1;
}
Reply


Messages In This Thread
Pick up problem - by Noles2197 - 24.01.2013, 20:16
Re: Pick up problem - by ReDevilGames - 24.01.2013, 20:21
Re: Pick up problem - by B-Matt - 24.01.2013, 20:24
Re: Pick up problem - by Roach_ - 24.01.2013, 20:34
Re: Pick up problem - by ReDevilGames - 26.01.2013, 17:02

Forum Jump:


Users browsing this thread: 1 Guest(s)