SA-MP Forums Archive
[PEDIDO] Como fazer TextDraw se mecher - 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: [PEDIDO] Como fazer TextDraw se mecher (/showthread.php?tid=177106)



[PEDIDO] Como fazer TextDraw se mecher - Gabriel_Fernandes - 16.09.2010

galera tipo eu queria um text draw que se mecha em baixo do radar


Re: [PEDIDO] Como fazer TextDraw se mecher - zSuYaNw - 16.09.2010

pawn Код:
forward MecherTexts();
new Mover = 0;
pawn Код:
public OnGameModeInit();
{  
   SetTimer("MecherTexts",110,true);
   return 1;
}
pawn Код:
public MecherTexts()
{
if(Mover == 0)
{
 format(string,sizeof(string),"Ola");
 SetTextDrawString(NOMEDOTEXTDEAW,string);
 TextDrawShowForPlayer(playerid,string)
}
if(Mover == 1)
{
 format(string,sizeof(string),"     Ola");
 SetTextDrawString(NOMEDOTEXTDEAW,string);
 TextDrawShowForPlayer(playerid,string)
 Mover = 0;
}
return 1;
}
-Lуgica:
Quando o servidor iniciar ele farб que o textraw troca de posiзгo no tempo do OnGameModeInit.


Re: [PEDIDO] Como fazer TextDraw se mecher - pedro xD~ - 16.09.2010

kk textdraw c mexe essa й nova nunk tinha visto
imagina ela c mexe sempre c o cara nao presta atenзao perde a textdraw


Re: [PEDIDO] Como fazer TextDraw se mecher - Gabriel_Fernandes - 16.09.2010

ja viu propaganda nao ? ele meche Em Baixo do Hud e volta


Vlw
@Garfiell

ele e igual aquele do forum dos svrs roleplay ?


Re: [PEDIDO] Como fazer TextDraw se mecher - TiagoPS - 16.09.2010

USE THIS AS BASIS


Re: [PEDIDO] Como fazer TextDraw se mecher - zSuYaNw - 17.09.2010

Vai pela lуgica Gabriel.