Portal SAMP
[Pedido] Atualizar textlabel - 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: [Pedido] Atualizar textlabel (/showthread.php?tid=1125)



Atualizar textlabel - MatheuzPatoo - 23/04/2021

Como eu atualizo uma textlabel?

sei que tem uma funçao mas n me recordo qual



RE: Atualizar textlabel - WeebSide - 23/04/2021

New str[256];
format(str, sizeof(str), "%s", string);


RE: Atualizar textlabel - MatheuzPatoo - 23/04/2021

(23/04/2021 12:42)WeebSide Escreveu: New str[256];
format(str, sizeof(str), "%s", string);

Já está assim pw, tem alguma callback para ficar atualizando? é uma string que está com um valor e eu quero mostrar no textlabel


RE: Atualizar textlabel - xbruno1000x - 23/04/2021

UpdatePlayer3DTextLabelText
https://open.mp/pt/docs/scripting/functions/UpdatePlayer3DTextLabelText

Update3DTextLabelText
https://open.mp/pt/docs/scripting/functions/Update3DTextLabelText