01.11.2013, 23:21
Exemplo simples
Nгo testei, mas й basicamente isto.
pawn Код:
stock MostrarImg(img[], playerid) {
new arr[bitmapType];
new File: f = OpenImage(img, arr);
for(new x; x != GetSizeX(arr); x++) {
for(new y; y != GetSizeY(arr); y++) {
new Text:t = TextDrawCreate(float(x),float(y),".");
TextDrawColor( t, GetPixelColor(f, x, y, arr));
TextDrawShowForPlayer(playerid, t);
}
}
return CloseImage(f);
}