SA-MP Forums Archive
[FilterScript] Imagem ao morrer estilo GTA 5 - 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)
+----- Forum: Lançamentos/Releases (https://sampforum.blast.hk/forumdisplay.php?fid=56)
+----- Thread: [FilterScript] Imagem ao morrer estilo GTA 5 (/showthread.php?tid=496033)



Imagem ao morrer estilo GTA 5 - N3XTMapper - 20.02.2014

Olб pessoal , eu estava de bobeira aqui em casa e resolvi fazer este filterscript para o pessoal , este й o meu primeiro filterscript, estou iniciando ainda, testei e nгo encontrei nenhum bug, foi tudo feito corretamente . Obg

Bom, como ja diz no titulo, este fs й um simples textdraw que й criado ao player morrer, fazendo parecer com o do GTA 5, dei uma otimizada nele com barrinhas vermelhas e tals, e quando ele spawna o textdraw some.

Print [ > ]


Codigo [ > ]


PHP код:
/*
Filterscript Criado por NeexT , nгo remova os creditos NOOB !
*/
// |================ includes ==================|
#include                                                                        < a_samp >
#include                                                                        < a_players >
#pragma tabsize 0
// |================ includes ==================|
// |================ News das Textdraws ==================|
new PlayerText:Textdraw0;
new 
PlayerText:Textdraw1;
new 
PlayerText:Textdraw2;
new 
PlayerText:Textdraw3;
new 
PlayerText:Textdraw4;
// |================ News das Textdraws ==================|
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
    print(
"\n--------------------------------------");
    print(
" TextDrawMorte Carregado com Sucesso !");
    print(
"--------------------------------------\n");
    return 
1;
}
public 
OnFilterScriptExit()
{
    return 
1;
}
#else
main()
{
    print(
"\n----------------------------------");
    print(
" TextDrawMorte Descarregado com Sucesso !");
    print(
"----------------------------------\n");
}
#endif
public OnGameModeInit()
{
    return 
1;
}
public 
OnGameModeExit()
{
    return 
1;
}
public 
OnPlayerConnect(playerid)
{
Textdraw0 CreatePlayerTextDraw(playerid,321.0000002.000000"~n~~n~~n~~n~");
PlayerTextDrawAlignment(playerid,Textdraw02);
PlayerTextDrawBackgroundColor(playerid,Textdraw0255);
PlayerTextDrawFont(playerid,Textdraw01);
PlayerTextDrawLetterSize(playerid,Textdraw00.52999912.400011);
PlayerTextDrawColor(playerid,Textdraw0, -1);
PlayerTextDrawSetOutline(playerid,Textdraw00);
PlayerTextDrawSetProportional(playerid,Textdraw01);
PlayerTextDrawSetShadow(playerid,Textdraw01);
PlayerTextDrawUseBox(playerid,Textdraw01);
PlayerTextDrawBoxColor(playerid,Textdraw0, -1835822029);
PlayerTextDrawTextSize(playerid,Textdraw00.000000640.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw00);
Textdraw1 CreatePlayerTextDraw(playerid,321.000000143.000000"~n~~n~~n~~n~");
PlayerTextDrawAlignment(playerid,Textdraw12);
PlayerTextDrawBackgroundColor(playerid,Textdraw1255);
PlayerTextDrawFont(playerid,Textdraw11);
PlayerTextDrawLetterSize(playerid,Textdraw10.5299995.199996);
PlayerTextDrawColor(playerid,Textdraw1, -1);
PlayerTextDrawSetOutline(playerid,Textdraw10);
PlayerTextDrawSetProportional(playerid,Textdraw11);
PlayerTextDrawSetShadow(playerid,Textdraw11);
PlayerTextDrawUseBox(playerid,Textdraw11);
PlayerTextDrawBoxColor(playerid,Textdraw1, -1835821961);
PlayerTextDrawTextSize(playerid,Textdraw10.000000640.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw10);
Textdraw2 CreatePlayerTextDraw(playerid,235.000000208.000000"Morto !");
PlayerTextDrawBackgroundColor(playerid,Textdraw2102);
PlayerTextDrawFont(playerid,Textdraw23);
PlayerTextDrawLetterSize(playerid,Textdraw21.3299984.699996);
PlayerTextDrawColor(playerid,Textdraw2, -16776961);
PlayerTextDrawSetOutline(playerid,Textdraw21);
PlayerTextDrawSetProportional(playerid,Textdraw21);
PlayerTextDrawSetSelectable(playerid,Textdraw20);
Textdraw3 CreatePlayerTextDraw(playerid,321.000000139.000000"~n~~n~~n~~n~");
PlayerTextDrawAlignment(playerid,Textdraw32);
PlayerTextDrawBackgroundColor(playerid,Textdraw3255);
PlayerTextDrawFont(playerid,Textdraw31);
PlayerTextDrawLetterSize(playerid,Textdraw30.529999, -0.000000);
PlayerTextDrawColor(playerid,Textdraw3, -1);
PlayerTextDrawSetOutline(playerid,Textdraw30);
PlayerTextDrawSetProportional(playerid,Textdraw31);
PlayerTextDrawSetShadow(playerid,Textdraw31);
PlayerTextDrawUseBox(playerid,Textdraw31);
PlayerTextDrawBoxColor(playerid,Textdraw3, -16776961);
PlayerTextDrawTextSize(playerid,Textdraw30.000000640.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw30);
Textdraw4 CreatePlayerTextDraw(playerid,321.000000335.000000"~n~~n~~n~~n~");
PlayerTextDrawAlignment(playerid,Textdraw42);
PlayerTextDrawBackgroundColor(playerid,Textdraw4255);
PlayerTextDrawFont(playerid,Textdraw41);
PlayerTextDrawLetterSize(playerid,Textdraw40.529999, -0.000000);
PlayerTextDrawColor(playerid,Textdraw4, -1);
PlayerTextDrawSetOutline(playerid,Textdraw40);
PlayerTextDrawSetProportional(playerid,Textdraw41);
PlayerTextDrawSetShadow(playerid,Textdraw41);
PlayerTextDrawUseBox(playerid,Textdraw41);
PlayerTextDrawBoxColor(playerid,Textdraw4, -16776961);
PlayerTextDrawTextSize(playerid,Textdraw40.000000640.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw40);
    return 
1;
}
public 
OnPlayerSpawn(playerid)
{
PlayerTextDrawHide(playeridPlayerText:Textdraw0);
PlayerTextDrawHide(playeridPlayerText:Textdraw1);
PlayerTextDrawHide(playeridPlayerText:Textdraw2);
PlayerTextDrawHide(playeridPlayerText:Textdraw3);
PlayerTextDrawHide(playeridPlayerText:Textdraw4);
    return 
1;
}
public 
OnPlayerDeath(playeridkilleridreason)
{
PlayerTextDrawShow(playeridPlayerText:Textdraw0);
PlayerTextDrawShow(playeridPlayerText:Textdraw1);
PlayerTextDrawShow(playeridPlayerText:Textdraw2);
PlayerTextDrawShow(playeridPlayerText:Textdraw3);
PlayerTextDrawShow(playeridPlayerText:Textdraw4);
    return 
1;

Creditos [ > ] TextDraw editor by Zamaroth
FilterScript [ > ] N3XTMapper (NeexT)


http://pastebin.com/yurkisdY


Re: Imagem ao morrer estilo GTA 5 - ChinchilaReiDoSexo - 20.02.2014

noзa


Re: Imagem ao morrer estilo GTA 5 - shittt - 20.02.2014

Parece Veridico , N estou sonhando . ta mais ou benos +rep mesmo assim .


Re: Imagem ao morrer estilo GTA 5 - TR0J4N - 20.02.2014

Parece Veridico , N estou sonhando . ta mais ou benos +rep mesmo assim .І


Re: Imagem ao morrer estilo GTA 5 - Cor3y - 20.02.2014

Acho que o povo nem sabe oque й verнdico, mas enfim o correto nгo seria: "Se fodeu!"?


Re: Imagem ao morrer estilo GTA 5 - FallweN - 20.02.2014

Ficou bom, parabйns.

Sу que o certo й "Se Fodeu!"

+REP


Re: Imagem ao morrer estilo GTA 5 - N3XTMapper - 20.02.2014

Sim sei que o certo й " Se Fodeu! " , mais preferi usar " Morto! " , pq nao queria chingamentos ksksk, Obrigado a todos

@EDIT Espero que entendam o motivo de eu usar o " Morto! " no lugar de " Se Fodeu! ".


Re: Imagem ao morrer estilo GTA 5 - ChinchilaReiDoSexo - 20.02.2014

Prefiro se fodeu.


Re: Imagem ao morrer estilo GTA 5 - PT - 20.02.2014

Parabens, bom trabalho.


Re: Imagem ao morrer estilo GTA 5 - N3XTMapper - 20.02.2014

Quote:
Originally Posted by PT
Посмотреть сообщение
Parabens, bom trabalho.
Obrigado