SA-MP Forums Archive
[Pedido] Tutorial! - 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] Tutorial! (/showthread.php?tid=401466)



Tutorial! - Humildade - 22.12.2012

Alguйm, Tem ou Ajuda a Criar um Tutorial, Em TextDraw,
Aparece Esse Titulo no Meio da Tela
e o Texto em Cima e Vai Indo Atй chegar no Final o Player da Spawn

http://i.imgur.com/uwj8r.png

Obrigado


Re: Tutorial! - paulor - 22.12.2012

Isso parece-me GameText


Re: Tutorial! - HeyHoLetsGo - 23.12.2012

GameTextForPlayer(playerid,"Texto",5000,6);


Re: Tutorial! - arakuta - 23.12.2012

Quote:
Originally Posted by HeyHoLetsGo
Посмотреть сообщение
GameTextForPlayer(playerid,"Texto",5000,6);
Por isso a board nгo vai pra frente.

Funзгo: GameTextForPlayer Parвmetros: playerid, const string[], time, style.

playerid: ID do jogador a ser mostrado o texto;
const string[]: Texto a ser mostrado. (Toda string deve estar entre aspas "");
time: Tempo a ser mostrado a text em milisegundos;
style: Tipo de Texto a ser mostrado. Veja os tipos: https://sampwiki.blast.hk/wiki/GameTextStyle#Text_Styles

Exemplo:

pawn Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    GameTextForPlayer(playerid,"Prefeitura",3000,1);
    return 1;
}
Ao entrar em um interior (ou sair), aparecerб uma GameText para o playerid (neste caso quem executou a callback), escrito Prefeitura, no estilo 1, e durarб por 3 segundos.


Re: Tutorial! - Kuddy - 23.12.2012

Se nгo me engano й uma gametext com o seguinte escrito:
pawn Код:
~d~ .:: Bem vindo ao BBB 2013 ::. ~d~



Re: Tutorial! - Humildade - 23.12.2012

Alguem me a uma Base?
Fazendo Favor!