Displaying an Image from a MYSQL Field?
#2

You'd need to use the new TextDraw functions of the 0.3x, then read it from the database and set these up:

pawn Код:
TextDrawFont(playerid, txtSprite, TEXT_DRAW_FONT_MODEL_PREVIEW);
native TextDrawSetPreviewModel(Text:text, modelindex);
native TextDrawSetPreviewRot(Text:text, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fZoom = 1.0);
Reply


Messages In This Thread
Displaying an Image from a MYSQL Field? - by acade - 31.01.2013, 16:23
Re: Displaying an Image from a MYSQL Field? - by iGetty - 31.01.2013, 18:07

Forum Jump:


Users browsing this thread: 1 Guest(s)