24.01.2013, 20:34
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;
}