[Ajuda] Textdrawn Level
#4

Nгo use textdraw global... https://sampforum.blast.hk/showthread.php?tid=578442

Mesmo assim... aqui vai:

PHP код:
//OnGameModeInit
SetTimer("Teste"50001);
//Coloque a callback em algum lugar de seu GM.
forward Teste();
public 
Teste()
{
     new 
valor[3];
     foreach(new 
iPlayer)  //Use foreach https://sampforum.blast.hk/showthread.ph...2.52230785
     
{
           
format(valor,sizeof(valor),"%i",GetPlayerScore(i));
           
TextDrawSetString(TextdrawJ0[i],valor);
           
TextDrawShowForPlayer(i,TextdrawJ0[i]);
     }
     return 
1;

Reply


Messages In This Thread
Textdrawn Level - by ViniciusTUF - 14.11.2016, 16:21
Re: Textdrawn Level - by Jelly23 - 14.11.2016, 16:23
Re: Textdrawn Level - by ViniciusTUF - 14.11.2016, 16:26
Re: Textdrawn Level - by Jelly23 - 14.11.2016, 16:32

Forum Jump:


Users browsing this thread: 1 Guest(s)