SA-MP Forums Archive
Just a question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Just a question (/showthread.php?tid=502549)



Just a question - Tuntun - 24.03.2014

How can i add a picture via textdraw? like CJ's photo or etc. I don't mean Material text..


Re: Just a question - Konstantinos - 24.03.2014

Do you mean textdraw sprites?

You can create them with a textdraw editor and you can find the pictures/names here: https://sampforum.blast.hk/showthread.php?tid=291722


Re: Just a question - Tuntun - 24.03.2014

Ooh thanks +rep . And can i have an example of using this tool? ... how should i put the line in Textdraw?


Re: Just a question - Konstantinos - 24.03.2014

The text of the textdraw should be with the format: FOLDER_NAME:ICON_NAME

An example of an old textdraw I had (ignore that it's per-player textdraw):
pawn Код:
Sprite_Backet[playerid] = CreatePlayerTextDraw(playerid, 163.000, 140.500, "LD_OTB2:backbet");
PlayerTextDrawFont(playerid, Sprite_Backet[playerid], 4);
PlayerTextDrawTextSize(playerid, Sprite_Backet[playerid], 319.000, 190.000);
PlayerTextDrawColor(playerid, Sprite_Backet[playerid], -140);



Re: Just a question - AhmedMohamed - 24.03.2014

Rep+ to Konstantinos too