02.11.2013, 04:41
Ou pode fazer a stock assim:
pawn Код:
stock MostrarImg(playerid, img[], Float:imgx, Float:imgy)
{
new arr[bitmapType], File:f = OpenImage(img, arr);
for(new x; x != GetSizeX(arr); x++)
{
for(new y; y != GetSizeY(arr); y++)
{
new Text:t = TextDrawCreate(imgx + float(x), imgy + float(y), ".");
TextDrawColor(t, GetPixelColor(f, x, y, arr));
TextDrawShowForPlayer(playerid, t);
}
}
return CloseImage(f);
}