SA-MP Forums Archive
[Ajuda] TextDraws's Sumindo ! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] TextDraws's Sumindo ! (/showthread.php?tid=393609)



TextDraws's Sumindo ! - chelsao - 18.11.2012

Boa Noite galera, estou com um probleminha, espero que possam me ajudar... As TextDraw's do meu servidor, quando ligo o servidor, todas aparecem, depois de umas 4 horas com o servidor ligado , TODAS textdraw's somem ! ai tenho que dar /gmx para voltar as textdraw's, alguem me ajuda a solucionar esse problema?

Essa aqui й 1 das Textdraw composta no GM !
\/
pawn Код:
Score_Setup(playerid)
{
    APlayerData[playerid][ScoresP] = TextDrawCreate(545.000000, 44.0, "Scores: 0");
    TextDrawBackgroundColor(APlayerData[playerid][ScoresP], 0x000000ff);
    TextDrawFont(APlayerData[playerid][ScoresP], 1);
    TextDrawLetterSize(APlayerData[playerid][ScoresP], 0.300000, 1.000000);
    TextDrawColor(APlayerData[playerid][ScoresP], -1);
    TextDrawSetOutline(APlayerData[playerid][ScoresP], 0);
    TextDrawSetProportional(APlayerData[playerid][ScoresP], 1);
    TextDrawSetShadow(APlayerData[playerid][ScoresP], 1);
    return 1;
}
Desde ja obrigado !


Re: TextDraws's Sumindo ! - paulor - 18.11.2012

Deve ter algum timer que as escondem ou excluem depois de 4 horas..


Re: TextDraws's Sumindo ! - chelsao - 18.11.2012

Quote:
Originally Posted by paulor
Посмотреть сообщение
Deve ter algum timer que as escondem ou excluem depois de 4 horas..
Aonde posso achar esse timer, pq ja procurei mais n acho de jeito nenhum :/


Re: TextDraws's Sumindo ! - paulor - 18.11.2012

Procure por:
TextDrawHideForPlayer,
TextDrawHideForAll,
TextDrawDestroy


E veja se acha algo suspeito!



Re: TextDraws's Sumindo ! - chelsao - 18.11.2012

Quote:
Originally Posted by paulor
Посмотреть сообщение
Procure por:
TextDrawHideForPlayer,
TextDrawHideForAll,
TextDrawDestroy


E veja se acha algo suspeito!
As que achei sao essas, mais isso, eu tentei desativa-las mais nada !
pawn Код:
TextDrawHideForPlayer(playerid, ImagemEntrada);
e essas aqui
Speedometer_Cleanup(playerid)
{
    TextDrawDestroy(APlayerData[playerid][Velocimetro]);
    TextDrawDestroy(APlayerData[playerid][SpeedometerText]);
    TextDrawDestroy(APlayerData[playerid][FuelGauge]);
    TextDrawDestroy(APlayerData[playerid][GPS]);
    TextDrawDestroy(APlayerData[playerid][Gasosa]);
    TextDrawDestroy(APlayerData[playerid][Motor]);
    TextDrawDestroy(APlayerData[playerid][Cruise]);
Esse trem ta me deichando LOUCO!


Re: TextDraws's Sumindo ! - chelsao - 19.11.2012

Up !
Preciso muito dessa ajuda !


Re: TextDraws's Sumindo ! - Schocc - 19.11.2012

Quote:
Originally Posted by chelsao
Посмотреть сообщение
Up !
Preciso muito dessa ajuda !
Va em OnGameModeInit()
Procure por SetTimer relacionado as TextDraw's e Poste aqui ( Se haver algo relacionado )


Re: TextDraws's Sumindo ! - chelsao - 19.11.2012

Quote:
Originally Posted by Schocc
Посмотреть сообщение
Va em OnGameModeInit()
Procure por SetTimer relacionado as TextDraw's e Poste aqui ( Se haver algo relacionado )
Olhei aqui, relacionado a TextDraw nao tem nada nгo! :/


Re: TextDraws's Sumindo ! - chelsao - 19.11.2012

Up !..
me ajude por favor........


Re: TextDraws's Sumindo ! - Supera - 19.11.2012

Vocк usa o gamemode ppc_trucking? se sim na include ppc_speedometer (Acho) deve ter um timer : SetTimerEx("Speedometer_Update", 500, true, "i", playerid);
tente ve nessa include