Little Help!! +rep - 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: Little Help!! +rep (
/showthread.php?tid=365570)
Little Help!! +rep -
Nirzor - 03.08.2012
i am very weak at textdraw so can someone make me a textdraw over Health bar in Green color? written
ULTIMATE STUNT paste the codes here this help i really need please help me in this thank you! ill +rep who helps me
Re: Little Help!! +rep -
Devilxz97 - 03.08.2012
under health bar or money bar ?
Re: Little Help!! +rep -
tyler12 - 03.08.2012
pawn Код:
new Text:Textdraw0;
new Text:Textdraw1;
Textdraw0 = TextDrawCreate(547.000000, 37.000000, "Ultimate");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
TextDrawColor(Textdraw0, 16711935);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
Textdraw1 = TextDrawCreate(548.000000, 50.000000, "Stunt");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 0.500000, 1.000000);
TextDrawColor(Textdraw1, 16711935);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
Re: Little Help!! +rep -
Nirzor - 03.08.2012
over money bar too!
Re: Little Help!! +rep -
Devilxz97 - 03.08.2012
pawn Код:
#include <a_samp>
new Text:textdraw1;
public OnGameModeInit()
{
textdraw1 = TextDrawCreate(483.0,98.0,"] Ultimate Stunt ]");
TextDrawLetterSize(textdraw1, 0.330000,2.199999);
TextDrawBackgroundColor(textdraw1,255);
TextDrawColor(textdraw1, 0x00FF00AA);
TextDrawSetOutline(textdraw1,1);
TextDrawSetShadow(textdraw1,2);
TextDrawFont(textdraw1,2);
return 1;
}
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid,textdraw1);
return 1;
}
// or you can put it on Onplayerconnect
/*public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,textdraw1);
return 1;
}
*/
~ ] - Star
- if you dont want the star just remove ] from the line
pawn Код:
textdraw1 = TextDrawCreate(483.0,98.0,"] Ultimate Stunt ]");