[Ajuda] Adicionar TextDraw
#4

PHP Code:
stock UpdatePlayerCash(playerid)
{
    new 
newtext[41];
    
    
format(newtext41"Cash: %d"Cash[playerid]);
    
TextDrawSetString(Textdraw3newtext);
}
// E usar isso em tudo que for consumir ou adicionar cash:
UpdatePlayerCash(playerid); 
Ou vocк pode usar um 'timer' de 1 segundo para atualizar constantemente (oque й o mais usado e o menos recomendado).
Reply


Messages In This Thread
Adicionar TextDraw - by SkolPlay - 28.05.2020, 15:32
Re: Adicionar TextDraw - by cicinho - 28.05.2020, 15:59
Re: Adicionar TextDraw - by SkolPlay - 28.05.2020, 16:38
Re: Adicionar TextDraw - by wearLy - 28.05.2020, 16:41
Re: Adicionar TextDraw - by SkolPlay - 28.05.2020, 17:42
Re: Adicionar TextDraw - by HelderPT - 28.05.2020, 19:19
Re: Adicionar TextDraw - by SkolPlay - 28.05.2020, 20:34
Re: Adicionar TextDraw - by SkolPlay - 28.05.2020, 20:38
Re: Adicionar TextDraw - by cicinho - 28.05.2020, 21:50
Re: Adicionar TextDraw - by SkolPlay - 29.05.2020, 17:40

Forum Jump:


Users browsing this thread: 1 Guest(s)