SA-MP Forums Archive
How create this textdraw? - 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: How create this textdraw? (/showthread.php?tid=524225)



How create this textdraw? - Ssaint - 05.07.2014

Hy all plz help!!!
How create this star?



Re: How create this textdraw? - Dignity - 05.07.2014

"[ ]" will show a star.


Re: How create this textdraw? - Ssaint - 05.07.2014

Quote:
Originally Posted by Mionee
Посмотреть сообщение
"[ ]" will show a star.
This?

PLZ show all codes


Re: How create this textdraw? - ev0lution - 05.07.2014

Actually it's TextDraw font 4 (TEXT_DRAW_FONT_SPRITE_DRAW). See https://sampwiki.blast.hk/wiki/TextDraw_Sprites for more info.

Unfortunately I don't know the name of that burger icon, but there is a filterscript around here that lets you browse through all of the sprite libraries. (the wiki page only has a few, there are hundreds of them)


Re: How create this textdraw? - LivingLikeYouDo - 06.07.2014

As faras I know, i use the FONT 2 (modern) and to make the star, I set its text to ']' Without the ' marks.


Re: How create this textdraw? - iFarbod - 06.07.2014

You want the Burger Shot Icon?

EDIT: USE "hud:radar_burgerShot" as text.


Re: How create this textdraw? - iFarbod - 06.07.2014

Here is ones i made:

pawn Код:
// On top of script:
new Text:Textdraw0;
new Text:Textdraw1;

// In OnGameModeInit prefferably, we procced to create our textdraws:
Textdraw0 = TextDrawCreate(210.000000, 210.000000, "hud:radar_burgerShot");
TextDrawBackgroundColor(Textdraw0, 0);
TextDrawFont(Textdraw0, 4);
TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
TextDrawUseBox(Textdraw0, 1);
TextDrawBoxColor(Textdraw0, 255);
TextDrawTextSize(Textdraw0, 30.000000, 30.000000);
TextDrawSetSelectable(Textdraw0, 0);

Textdraw1 = TextDrawCreate(250.000000, 215.000000, "~b~~h~~h~Something. ~r~~h~]]]");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 2);
TextDrawLetterSize(Textdraw1, 0.500000, 2.000000);
TextDrawColor(Textdraw1, -1);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetSelectable(Textdraw1, 0);
Offtopic: If you want all map icon sprite names. Tell me via PM.


Re: How create this textdraw? - danish007 - 06.07.2014

Quote:
Originally Posted by iFarbod
Посмотреть сообщение
You want the Burger Shot Icon?

EDIT: USE "hud:radar_burgerShot" as text.
how to get more hud/radars idk what, like this?
like if i want cars in textdraw text? how?