[Ajuda] Include iImage
#5

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


Messages In This Thread
Include iImage - by [THs]ShadoW - 01.11.2013, 23:13
Respuesta: Include iImage - by ipsBruno - 01.11.2013, 23:21
Re: Include iImage - by [THs]ShadoW - 01.11.2013, 23:31
Respuesta: Include iImage - by ipsBruno - 02.11.2013, 00:13
Re: Include iImage - by andreasbleck - 02.11.2013, 04:41
Respuesta: Include iImage - by ipsBruno - 02.11.2013, 04:48

Forum Jump:


Users browsing this thread: 1 Guest(s)