Text Draw ! With picture ! -
dorperez - 15.11.2011
Hey guys ..
I have a problem with my money textdraw..when i log in to the server i see black box where the money is located.. like this:
http://imageshack.us/photo/my-images/265/17254502.png/
Its happend when i deleted a speedo..
I think its about this fuction:
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
OnPlayerConnect(i);
}
Any way i did that:
new Text:Textdraw0;
Onplayerconnect:
TextDrawShowForPlayer(playerid, Textdraw0);
Onplayerdisconnect
TextDrawHideForPlayer(playerid, Textdraw0);
Onplayerspawn:
TextDrawShowForPlayer(playerid, Textdraw0);
OnGameModeInit
//Money
Textdraw0 = TextDrawCreate(498.000000,78.000000,"b");
TextDrawUseBox(Textdraw0,1);
TextDrawBoxColor(Textdraw0,0x000000ff);
TextDrawTextSize(Textdraw0,612.000000,0.000000);
TextDrawAlignment(Textdraw0,0);
TextDrawBackgroundColor(Textdraw0,0x00000000);
TextDrawFont(Textdraw0,3);
TextDrawLetterSize(Textdraw0,1.000000,2.299999);
TextDrawColor(Textdraw0,0x00000000);
TextDrawSetOutline(Textdraw0,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawSetShadow(Textdraw0,1);
help !!
Re: Text Draw ! With picture ! -
Stigg - 15.11.2011
pawn Код:
//Money
Textdraw0 = TextDrawCreate(498.000000,78.000000,"b");
TextDrawTextSize(Textdraw0,612.000000,0.000000);
TextDrawAlignment(Textdraw0,0);
TextDrawBackgroundColor(Textdraw0,0x00000000);
TextDrawFont(Textdraw0,3);
TextDrawLetterSize(Textdraw0,1.000000,2.299999);
TextDrawColor(Textdraw0,0x00000000);
TextDrawSetOutline(Textdraw0,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawSetShadow(Textdraw0,1);
TextDrawUseBox(Textdraw0,1);//move here or delete
TextDrawBoxColor(Textdraw0,0x000000ff);//move here or delete
Re: Text Draw ! With picture ! -
dorperez - 15.11.2011
Didn't worked
Re: Text Draw ! With picture ! -
Zh3r0 - 15.11.2011
You deleted a sprite from the hud.txd.
Re: Text Draw ! With picture ! -
dorperez - 15.11.2011
Okay..how can i fix it ?
Re: Text Draw ! With picture ! -
dorperez - 18.11.2011
Help......
Re: Text Draw ! With picture ! -
dorperez - 18.11.2011
Help !
Re: Text Draw ! With picture ! -
Gazmull - 18.11.2011
Don't triple post. You can't wait?
Re: Text Draw ! With picture ! -
dorperez - 18.11.2011
No because its important and no one help me !
Re: Text Draw ! With picture ! -
Gazmull - 18.11.2011
Every script is important, but have a patience. And those who try to help you, they are not a BOT.
Re: Text Draw ! With picture ! -
dorperez - 18.11.2011
Okay,but I need that help fast dude so I am stress...
Re: Text Draw ! With picture ! -
IstuntmanI - 18.11.2011
Try to change
Код:
//Money
Textdraw0 = TextDrawCreate(498.000000,78.000000,"b");
TextDrawTextSize(Textdraw0,612.000000,0.000000);
TextDrawAlignment(Textdraw0,0);
TextDrawBackgroundColor(Textdraw0,0x00000000);
TextDrawFont(Textdraw0,3);
TextDrawLetterSize(Textdraw0,1.000000,2.299999);
TextDrawColor(Textdraw0,0x00000000);
TextDrawSetOutline(Textdraw0,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawSetShadow(Textdraw0,1);
TextDrawUseBox(Textdraw0,1);//move here or delete
TextDrawBoxColor(Textdraw0,0x000000ff);//move here or delete
to
Код:
//Money
Textdraw0 = TextDrawCreate(498.000000,78.000000,"b");
TextDrawTextSize(Textdraw0,612.000000,0.000000);
TextDrawAlignment(Textdraw0,0);
TextDrawBackgroundColor(Textdraw0,0x00000000);
TextDrawFont(Textdraw0,3);
TextDrawLetterSize(Textdraw0,1.000000,2.299999);
TextDrawColor(Textdraw0,0x00000000);
TextDrawSetOutline(Textdraw0,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawSetShadow(Textdraw0,1);
TextDrawUseBox(Textdraw0,1);//move here or delete
TextDrawBoxColor(Textdraw0,0x000000AA);//move here or delete
Respuesta: Text Draw ! With picture ! -
[DOG]irinel1996 - 18.11.2011
Try to replace your
hud.txd with this:
http://www.fileserve.com/file/HQ6Avuj/hud.txd
It's located in
..Rockstar Games/GTA San Andreas/models.
Or try to delete the TextDraw. =/
Re: Text Draw ! With picture ! -
dorperez - 18.11.2011
Didn't worked .....
Re: Text Draw ! With picture ! -
rt-2 - 18.11.2011
Plus, from 5:11 to 5:46,, it's not that long
see this post:
https://sampforum.blast.hk/showthread.php?tid=275743
Re: Text Draw ! With picture ! -
dorperez - 18.11.2011
Didnt help me ...
Re: Text Draw ! With picture ! -
Unte99 - 18.11.2011
If you want to get rid of the textdraw, delete it. If you want to fix the textdraw, just move down the box parameters and change the text color, simple as that:
pawn Код:
//Money
Textdraw0 = TextDrawCreate(498.000000,78.000000,"Money");
TextDrawTextSize(Textdraw0,612.000000,0.000000);
TextDrawAlignment(Textdraw0,0);
TextDrawBackgroundColor(Textdraw0,0x00000000);
TextDrawFont(Textdraw0,3);
TextDrawLetterSize(Textdraw0,1.000000,2.299999);
// TEXT COLOR
TextDrawColor(Textdraw0,0x008000FF);
// TEXT COLOR
TextDrawSetOutline(Textdraw0,1);
TextDrawSetProportional(Textdraw0,1);
TextDrawSetShadow(Textdraw0,1);
TextDrawUseBox(Textdraw0,1);
// BLACK BOX COLOR
TextDrawBoxColor(Textdraw0,0x000000ff);
// BLACK BOX COLOR