[Ajuda] Status
#8

Fiz certinho galera, PlayerTextDraw, as text do gm nгo sumiram, mais agora, a text fps nгo aparece... olha o passo...
pawn Код:
new PlayerText:TxdStatus3[MAX_PLAYERS];

Em gamemodeinit:
for(new i; i < GetMaxPlayers(); i++)
{
TxdStatus3[i] = CreatePlayerTextDraw(i,509.000000, 364.000000, " "); //FPS: 100
PlayerTextDrawBackgroundColor(i,TxdStatus3[i], 255);
PlayerTextDrawFont(i,TxdStatus3[i], 1);
PlayerTextDrawLetterSize(i,TxdStatus3[i], 0.250000, 1.400000);
PlayerTextDrawColor(i,TxdStatus3[i], -1);
PlayerTextDrawSetOutline(i,TxdStatus3[i], 1);
PlayerTextDrawSetProportional(i,TxdStatus3[i], 1);
}

forward UpdateTxDStatus(playerid);
public UpdateTxDStatus(playerid)
{
new ppFPS[42];
format(ppFPS,sizeof(ppFPS),"FPS: %i",GetPlayerFPS(playerid));
PlayerTextDrawSetString(playerid,TxdStatus3[playerid],ppFPS);
return 1;
}

Em OnPlayerSpawn:
TextDrawShowForPlayer(playerid, TxdStatus3[playerid]);
Nгo aparece a Text, me ajudem
Reply


Messages In This Thread
Status - by neymar1477 - 28.04.2015, 01:09
Re: Status - by Dayvison_ - 28.04.2015, 01:27
Re: Status - by neymar1477 - 28.04.2015, 02:01
Re: Status - by LuisFerreira - 28.04.2015, 03:17
Re: Status - by neymar1477 - 28.04.2015, 03:31
Re: Status - by SkullFire - 28.04.2015, 03:44
Re: Status - by LuisFerreira - 28.04.2015, 04:01
Re: Status - by neymar1477 - 28.04.2015, 04:52
Re: Status - by DiegoCosta - 28.04.2015, 06:21
Re: Status - by neymar1477 - 28.04.2015, 13:36

Forum Jump:


Users browsing this thread: 1 Guest(s)