[Ajuda] TextDraw
#6

Essa textdraw й para quando o player spawmar no servidor? se sim, utilize da seguinte maneira(se nгo, adapte vocк mesmo).

Код:
/*Inнcio*/ -- Definiзгo.

new Text:Textdraw[1][MAX_PLAYERS];

/*OnPlayerSpawn*/ -- Chama elas meu parзa, se nгo, nгo aparece mesmo. 

TextDrawShowForPlayer(playerid, Textdraw[0][playerid]);
TextDrawShowForPlayer(playerid, Textdraw[1][playerid]);

/*OnGameModeInit*/ -- Crie elas no lugar correto ou crie uma callback para suas textdraws.

for(new i=0; i<MAX_PLAYERS; i++)
{
	Textdraw[0][i] = TextDrawCreate(634.000122, 386.192626, "BRASIL PLAY LEGENDS");
	TextDrawLetterSize(Textdraw[0][i]3, 0.449999, 1.600000);
	TextDrawAlignment(Textdraw[0][i], 3);
	TextDrawColor(Textdraw[0][i], 0x21DD00FF);
	TextDrawBoxColor(Textdraw[0][i], 0);
	TextDrawSetShadow(Textdraw[0][i], 0);
	TextDrawSetOutline(Textdraw[0][i], 1);
	TextDrawBackgroundColor(Textdraw[0][i], 51);
	TextDrawFont(Textdraw[0][i], 1);
	TextDrawSetProportional(Textdraw[0][i], 1);

	Textdraw[1][i] = TextDrawCreate(492.666595, 400.711151, "www.brasilplaylegend.com");
	TextDrawLetterSize(Textdraw[1][i], 0.282333, 1.226666);
	TextDrawAlignment(Textdraw[1][i], 1);
	TextDrawColor(Textdraw[1][i], 0xFFF8F8AA);
	TextDrawSetShadow(Textdraw[1][i], 0);
	TextDrawSetOutline(Textdraw[1][i], 1);
	TextDrawBackgroundColor(Textdraw[1][i], 51);
	TextDrawFont(Textdraw[1][i], 1);
	TextDrawSetProportional(Textdraw[1][i], 1);
}

/*Caso queira esconder essas textdraw's use:*/
TextDrawHideForPlayer(playerid, Textdraw[0][playerid]);
TextDrawHideForPlayer(playerid, Textdraw[1][playerid]);
Trabalhar com cуdigos й como tratar uma mulher, com calma, carinho e sabedoria. Se nгo tens paciкncia para conquistar o dom, nгo terб resultados com reciprocidade.
Espero ter ajudado...
Reply


Messages In This Thread
TextDraw - by paulotuto - 26.01.2017, 12:13
Re: TextDraw - by didimk157 - 26.01.2017, 12:18
Re: TextDraw - by Felipe1241421 - 26.01.2017, 12:37
Re: TextDraw - by Carlos001 - 26.01.2017, 13:05
Re: TextDraw - by JhefTFJ - 26.01.2017, 14:25
Re: TextDraw - by ziiQz - 27.01.2017, 17:09

Forum Jump:


Users browsing this thread: 3 Guest(s)