[Ajuda] Textdraw entrou saiu
#1

Entгo galera fiz minha do meu jeito aqui em textdraw pra mostrar quem entrou e saiu... Deu um puta trabalho pra colocar na posiзгo que eu queria
pawn Код:
tdes0 = TextDrawCreate(21.000000, 326.000000, "Nome_Cinco (id: 0) entrou!");
  TextDrawBackgroundColor(tdes0, 255);
  TextDrawFont(tdes0, 3);
  TextDrawLetterSize(tdes0, 0.259999, 1.399999);
  TextDrawColor(tdes0, -1);
  TextDrawSetOutline(tdes0, 0);
  TextDrawSetProportional(tdes0, 1);
  TextDrawSetShadow(tdes0, 1);
  TextDrawSetSelectable(tdes0, 0);

  tdes1 = TextDrawCreate(21.000000, 314.000000, "Nome_Quatro (id: 1) entrou!");
  TextDrawBackgroundColor(tdes1, 255);
  TextDrawFont(tdes1, 3);
  TextDrawLetterSize(tdes1, 0.259999, 1.399999);
  TextDrawColor(tdes1, -1);
  TextDrawSetOutline(tdes1, 0);
  TextDrawSetProportional(tdes1, 1);
  TextDrawSetShadow(tdes1, 1);
  TextDrawSetSelectable(tdes1, 0);

  tdes2 = TextDrawCreate(21.000000, 301.000000, "Nome_Tres (id: 2) saiu.");
  TextDrawBackgroundColor(tdes2, 255);
  TextDrawFont(tdes2, 3);
  TextDrawLetterSize(tdes2, 0.259999, 1.399999);
  TextDrawColor(tdes2, -1);
  TextDrawSetOutline(tdes2, 0);
  TextDrawSetProportional(tdes2, 1);
  TextDrawSetShadow(tdes2, 1);
  TextDrawSetSelectable(tdes2, 0);

  tdes3 = TextDrawCreate(21.000000, 289.000000, "Nome_Dois (id: 3) entrou!");
  TextDrawBackgroundColor(tdes3, 255);
  TextDrawFont(tdes3, 3);
  TextDrawLetterSize(tdes3, 0.259999, 1.399999);
  TextDrawColor(tdes3, -1);
  TextDrawSetOutline(tdes3, 0);
  TextDrawSetProportional(tdes3, 1);
  TextDrawSetShadow(tdes3, 1);
  TextDrawSetSelectable(tdes3, 0);

  tdes4 = TextDrawCreate(21.000000, 277.000000, "Nome_Um (id: 4) saiu!");
  TextDrawBackgroundColor(tdes4, 255);
  TextDrawFont(tdes4, 3);
  TextDrawLetterSize(tdes4, 0.259999, 1.399999);
  TextDrawColor(tdes4, -1);
  TextDrawSetOutline(tdes4, 0);
  TextDrawSetProportional(tdes4, 1);
  TextDrawSetShadow(tdes4, 1);
  TextDrawSetSelectable(tdes4, 0);
Como eu faзo pra ali em vez de Nome_Cinco vir a variavel: PlayerName(playerid)
E ali no 0 fica-se o id do player?

E que ela fica-se atualizando qnd alguem entra-se mudava elas

Tentei fazer num estilo LS cop and robbers:
Reply


Messages In This Thread
Textdraw entrou saiu - by pdonald - 15.05.2014, 21:21
Re: Textdraw entrou saiu - by DannielCooper - 15.05.2014, 21:28
Re: Textdraw entrou saiu - by maikons - 15.05.2014, 23:24

Forum Jump:


Users browsing this thread: 1 Guest(s)