Portal SAMP
[Ajuda] Como fazer textdraw redondos - Versão de Impressão

+- Portal SAMP (https://portalsamp.com)
+-- Fórum: SA-MP (https://portalsamp.com/forumdisplay.php?fid=5)
+--- Fórum: Área de suporte (https://portalsamp.com/forumdisplay.php?fid=6)
+--- Tópico: [Ajuda] Como fazer textdraw redondos (/showthread.php?tid=556)



Como fazer textdraw redondos - Rochazig - 25/12/2020

Opa queria saber como posso fazer textdraws redondos? Eu sei que um plugin mas não sei qual!

Podem me enviar ou ajudar nessa questão?


RE: Como fazer textdraw redondos - Vel - 25/12/2020

Código:
stock Text: CreateTextDrawCircle(Float: x, Float: y, Float: w, Float: h, color) {
  // LD_POOL:BALL/LD_BEAT:CHIT (https://renanmsv.github.io/gtasatxdlist/)
  new Text: id = TextDrawCreate(x, y, !"LD_BEAT:CHIT");

  if (id == Text: INVALID_TEXT_DRAW) {
    return Text: INVALID_TEXT_DRAW;
  }

  TextDrawFont(id, 4);
  TextDrawColor(id, color);
  TextDrawTextSize(id, w, h);
  return id;
}