[Ajuda] textdraw
#1

Galera eu to tentando fazer com que mostre o fps, ping, score e spree tudo junto pq no meu server tem um sistema de /fps que quando vc digita ae altera para mostrar o ping e fps e oculta o score e spree eu queria colcoar para mostrar todos juntos


pawn Код:
new bool:MostrandoFPSPing[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
MostrandoFPSPing[playerid] = false;
return 1;}
 
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)