[Ajuda] textdraw
#2

Para mostrar o ping vocк teria que usar a callback OnPlayerUpdate para atualizar o ping a cada milissegundos.
Tente:
pawn Код:
public UpdateTxDStatus(playerid)
{
new string[42];
if(Arena[playerid] == 1 || MostrandoFPSPing[playerid] == true)
{
format(string,sizeof(string),"~l~Ping:  ~l~%i~n~~y~FPS:   ~l~%i",GetPlayerPing(playerid),GetPlayerFPS(playerid));
}
else
{
format(string,sizeof(string),"~l~Score:  ~l~%i~n~~y~Spree:  ~l~%i",GetPlayerScore(playerid),Spree[playerid]);
}
TextDrawSetString(Status[playerid],string);
return 1;
}
Reply


Messages In This Thread
textdraw - by Bl4ckN3w - 21.06.2014, 21:45
Re: textdraw - by MultiKill - 21.06.2014, 21:59
Re: textdraw - by unamed - 21.06.2014, 21:59
Re: textdraw - by Bl4ckN3w - 21.06.2014, 22:09
Re: textdraw - by MultiKill - 21.06.2014, 22:24
Re: textdraw - by Bl4ckN3w - 21.06.2014, 22:41
Re: textdraw - by MultiKill - 21.06.2014, 22:45
Re: textdraw - by Bl4ckN3w - 21.06.2014, 22:59
Re: textdraw - by MultiKill - 21.06.2014, 23:03
Re: textdraw - by Bl4ckN3w - 21.06.2014, 23:07

Forum Jump:


Users browsing this thread: 1 Guest(s)