TextDraw funcionar sу para o player 0 -
Marllun - 07.11.2016
Olб eu estou aqui para pedir ajuda para vocкs pois meu sistema nгo estб funcionando ele sу funcionar para o player 0 й ele a mostra o textdraw do player 0 para todos a ele й um sistema de contar checkpoint entгo eu queria ajuda por favor.
Код:
new Text:Textdraw8;//Textdraw do contado de checkpoint
createTextDraws()
Textdraw8 = TextDrawCreate(564.000000,406.000000,"0/");
TextDrawAlignment(Textdraw8,0);
TextDrawBackgroundColor(Textdraw8,0x000000ff);
TextDrawLetterSize(Textdraw8,0.599999,2.499999);
TextDrawColor(Textdraw8,0xffffffff);
TextDrawSetOutline(Textdraw8,1);
TextDrawSetProportional(Textdraw8,1);
TextDrawSetShadow(Textdraw8,1);
Re: [Ajuda]TextDraw funcionar sу para o player 0 -
zSuYaNw - 07.11.2016
Vocк terб que usar
CreatePlayerTextDraw ao Invйs de TextDrawCreate.
Re: [Ajuda]TextDraw funcionar sу para o player 0 -
Marllun - 07.11.2016
poderia converter esse textdraw ai cima para min por favor?
Re: [Ajuda]TextDraw funcionar sу para o player 0 -
zSuYaNw - 07.11.2016
Quote:
Originally Posted by Marllun
poderia converter esse textdraw ai cima para min por favor?
|
Nгo. Assim vocк nunca irб aprender e ainda mais, O tнtulo do tуpico estб referindo a uma ajuda e nгo pedido.
Re: [Ajuda]TextDraw funcionar sу para o player 0 -
Marllun - 07.11.2016
Blz eu fiz sу que agora nгo esta mas aparecendo.
Код:
new PlayerText:Textdraw8[MAX_PLAYERS];
public OnPlayerConnect(playerid)
PlayerTextDrawShow(playerid, Textdraw8[playerid]);
Textdraw8[playerid] = CreatePlayerTextDraw(playerid,564.000000,406.000000,"0/");
PlayerTextDrawAlignment(playerid, Textdraw8[playerid], 0);
PlayerTextDrawBackgroundColor(playerid,Textdraw8[playerid], 0x000000ff);
PlayerTextDrawLetterSize(playerid, Textdraw8[playerid],0.599999,2.499999);
PlayerTextDrawColor(playerid, Textdraw8[playerid], 0xffffffff);
PlayerTextDrawSetOutline(playerid, Textdraw8[playerid], 1);
PlayerTextDrawSetProportional(playerid,Textdraw8[playerid],1);
PlayerTextDrawSetShadow(playerid, Textdraw8[playerid], 1);
EDIT
Eu posso ter enviar o cуdigo no pm?
Re: [Ajuda]TextDraw funcionar sу para o player 0 -
zSuYaNw - 08.11.2016
Verifique se vocк trocou o TextDrawShowForPlayer por
PlayerTextDrawShow.
Re: [Ajuda]TextDraw funcionar sу para o player 0 -
Marllun - 08.11.2016
sim eu jб coloquei. agora foi