[Ajuda] TextDraw funcionar sу para o player 0
#1

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);
Reply
#2

Vocк terб que usar CreatePlayerTextDraw ao Invйs de TextDrawCreate.
Reply
#3

poderia converter esse textdraw ai cima para min por favor?
Reply
#4

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.
Reply
#5

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?
Reply
#6

Verifique se vocк trocou o TextDrawShowForPlayer por PlayerTextDrawShow.
Reply
#7

sim eu jб coloquei. agora foi
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)