07.06.2014, 01:43
Ola galera, Estou querendo passar um FS maneiro para o GM que estou usando, Jб tentei colocar ele no GM sem ajuda de ninguйm e nгo conseguir, dar muitos erros ao compilar.
Entгo quero que alguйm por gentileza possa me ensinar a passar esse Filterscript para o Gamemode.
~Nгo tenho Experiкncia com Pawn
Imagem ao morrer estilo GTA 5
Aqui estб Tуpico do Filterscript: https://sampforum.blast.hk/showthread.php?tid=496033
Me desculpe os erro no Portuguкs.
Entгo quero que alguйm por gentileza possa me ensinar a passar esse Filterscript para o Gamemode.
~Nгo tenho Experiкncia com Pawn
Imagem ao morrer estilo GTA 5
Aqui estб Tуpico do Filterscript: https://sampforum.blast.hk/showthread.php?tid=496033
pawn Код:
/*
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.000000, 2.000000, "~n~~n~~n~~n~");
PlayerTextDrawAlignment(playerid,Textdraw0, 2);
PlayerTextDrawBackgroundColor(playerid,Textdraw0, 255);
PlayerTextDrawFont(playerid,Textdraw0, 1);
PlayerTextDrawLetterSize(playerid,Textdraw0, 0.529999, 12.400011);
PlayerTextDrawColor(playerid,Textdraw0, -1);
PlayerTextDrawSetOutline(playerid,Textdraw0, 0);
PlayerTextDrawSetProportional(playerid,Textdraw0, 1);
PlayerTextDrawSetShadow(playerid,Textdraw0, 1);
PlayerTextDrawUseBox(playerid,Textdraw0, 1);
PlayerTextDrawBoxColor(playerid,Textdraw0, -1835822029);
PlayerTextDrawTextSize(playerid,Textdraw0, 0.000000, 640.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw0, 0);
Textdraw1 = CreatePlayerTextDraw(playerid,321.000000, 143.000000, "~n~~n~~n~~n~");
PlayerTextDrawAlignment(playerid,Textdraw1, 2);
PlayerTextDrawBackgroundColor(playerid,Textdraw1, 255);
PlayerTextDrawFont(playerid,Textdraw1, 1);
PlayerTextDrawLetterSize(playerid,Textdraw1, 0.529999, 5.199996);
PlayerTextDrawColor(playerid,Textdraw1, -1);
PlayerTextDrawSetOutline(playerid,Textdraw1, 0);
PlayerTextDrawSetProportional(playerid,Textdraw1, 1);
PlayerTextDrawSetShadow(playerid,Textdraw1, 1);
PlayerTextDrawUseBox(playerid,Textdraw1, 1);
PlayerTextDrawBoxColor(playerid,Textdraw1, -1835821961);
PlayerTextDrawTextSize(playerid,Textdraw1, 0.000000, 640.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw1, 0);
Textdraw2 = CreatePlayerTextDraw(playerid,235.000000, 208.000000, "Se Fudeu !");
PlayerTextDrawBackgroundColor(playerid,Textdraw2, 102);
PlayerTextDrawFont(playerid,Textdraw2, 3);
PlayerTextDrawLetterSize(playerid,Textdraw2, 1.329998, 4.699996);
PlayerTextDrawColor(playerid,Textdraw2, -16776961);
PlayerTextDrawSetOutline(playerid,Textdraw2, 1);
PlayerTextDrawSetProportional(playerid,Textdraw2, 1);
PlayerTextDrawSetSelectable(playerid,Textdraw2, 0);
Textdraw3 = CreatePlayerTextDraw(playerid,321.000000, 139.000000, "~n~~n~~n~~n~");
PlayerTextDrawAlignment(playerid,Textdraw3, 2);
PlayerTextDrawBackgroundColor(playerid,Textdraw3, 255);
PlayerTextDrawFont(playerid,Textdraw3, 1);
PlayerTextDrawLetterSize(playerid,Textdraw3, 0.529999, -0.000000);
PlayerTextDrawColor(playerid,Textdraw3, -1);
PlayerTextDrawSetOutline(playerid,Textdraw3, 0);
PlayerTextDrawSetProportional(playerid,Textdraw3, 1);
PlayerTextDrawSetShadow(playerid,Textdraw3, 1);
PlayerTextDrawUseBox(playerid,Textdraw3, 1);
PlayerTextDrawBoxColor(playerid,Textdraw3, -16776961);
PlayerTextDrawTextSize(playerid,Textdraw3, 0.000000, 640.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw3, 0);
Textdraw4 = CreatePlayerTextDraw(playerid,321.000000, 335.000000, "~n~~n~~n~~n~");
PlayerTextDrawAlignment(playerid,Textdraw4, 2);
PlayerTextDrawBackgroundColor(playerid,Textdraw4, 255);
PlayerTextDrawFont(playerid,Textdraw4, 1);
PlayerTextDrawLetterSize(playerid,Textdraw4, 0.529999, -0.000000);
PlayerTextDrawColor(playerid,Textdraw4, -1);
PlayerTextDrawSetOutline(playerid,Textdraw4, 0);
PlayerTextDrawSetProportional(playerid,Textdraw4, 1);
PlayerTextDrawSetShadow(playerid,Textdraw4, 1);
PlayerTextDrawUseBox(playerid,Textdraw4, 1);
PlayerTextDrawBoxColor(playerid,Textdraw4, -16776961);
PlayerTextDrawTextSize(playerid,Textdraw4, 0.000000, 640.000000);
PlayerTextDrawSetSelectable(playerid,Textdraw4, 0);
return 1;
}
public OnPlayerSpawn(playerid)
{
PlayerTextDrawHide(playerid, PlayerText:Textdraw0);
PlayerTextDrawHide(playerid, PlayerText:Textdraw1);
PlayerTextDrawHide(playerid, PlayerText:Textdraw2);
PlayerTextDrawHide(playerid, PlayerText:Textdraw3);
PlayerTextDrawHide(playerid, PlayerText:Textdraw4);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
PlayerTextDrawShow(playerid, PlayerText:Textdraw0);
PlayerTextDrawShow(playerid, PlayerText:Textdraw1);
PlayerTextDrawShow(playerid, PlayerText:Textdraw2);
PlayerTextDrawShow(playerid, PlayerText:Textdraw3);
PlayerTextDrawShow(playerid, PlayerText:Textdraw4);
return 1;
}