[Ajuda] textdraw
#3

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

public OnPlayerConnect(playerid)
{
MostrandoFPSPing[playerid] = false;
return 1;}
 
public UpdateTxDStatus(playerid)
{
new string[64],string2[64];
if(Arena[playerid] == 1 || MostrandoFPSPing[playerid] == true) {
format(string2,sizeof(string2),"~l~Ping:  ~l~%i~n~~y~FPS:   ~l~%i",GetPlayerPing(playerid),GetPlayerFPS(playerid));
TextDrawSetString(Status[playerid],string2);
}
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)