I Need Help With textdraw!
#1

I Have Make A textdraw with ipleomax but i don't know where i put that code:
Код:
new Text:Textdraw0;


Textdraw0 = TextDrawCreate(560.625000, 413.583404, "TGAME.VN");
TextDrawLetterSize(Textdraw0, 0.449999, 2.591666);
TextDrawTextSize(Textdraw0, -62.500000, -317.916564);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, -1);
TextDrawSetShadow(Textdraw0, 3);
TextDrawSetOutline(Textdraw0, 0);
TextDrawBackgroundColor(Textdraw0, 51);
TextDrawFont(Textdraw0, 3);
TextDrawSetProportional(Textdraw0, 1);
Reply
#2

Put it at the top of ur script below includes/defines
Reply
#3

Quote:
Originally Posted by Gotham
Посмотреть сообщение
Put it at the top of ur script below includes/defines
let's me try
Reply
#4

Lol, no.

Top:

Quote:

new Text:Textdraw0;

OnGameModeInit:

Quote:

Textdraw0 = TextDrawCreate(560.625000, 413.583404, "TGAME.VN");
TextDrawLetterSize(Textdraw0, 0.449999, 2.591666);
TextDrawTextSize(Textdraw0, -62.500000, -317.916564);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, -1);
TextDrawSetShadow(Textdraw0, 3);
TextDrawSetOutline(Textdraw0, 0);
TextDrawBackgroundColor(Textdraw0, 51);
TextDrawFont(Textdraw0, 3);
TextDrawSetProportional(Textdraw0, 1);

Reply
#5

Quote:
Originally Posted by Rdx
Посмотреть сообщение
Lol, no.

Top:



OnGameModeInit:
it's not work
Reply
#6

Quote:
Originally Posted by TYDS
Посмотреть сообщение
it's not work
you need to show the textdraw under on player connect

Код:
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, Textdraw0);
    return 1;
}
Reply
#7

Quote:
Originally Posted by lackmail
Посмотреть сообщение
you need to show the textdraw under on player connect

Код:
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, Textdraw0);
    return 1;
}
it's still not work
Reply
#8

Quote:
Originally Posted by TYDS
Посмотреть сообщение
it's still not work
its works

Код:
new Text:Textdraw0;

public OnFilterScriptInit()
{
	Textdraw0 = TextDrawCreate(560.625000, 413.583404, "TGAME.VN");
	TextDrawLetterSize(Textdraw0, 0.449999, 2.591666);
	TextDrawTextSize(Textdraw0, -62.500000, -317.916564);
	TextDrawAlignment(Textdraw0, 1);
	TextDrawColor(Textdraw0, -1);
	TextDrawSetShadow(Textdraw0, 3);
	TextDrawSetOutline(Textdraw0, 0);
	TextDrawBackgroundColor(Textdraw0, 51);
	TextDrawFont(Textdraw0, 3);
	TextDrawSetProportional(Textdraw0, 1);

	return 1;
}

public OnPlayerConnect(playerid)
{
	TextDrawShowForPlayer(playerid, Textdraw0);
	return 1;
}
Reply
#9

Isn't Per-Player Textdraws only for OnPlayerConnect?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)