28.10.2013, 14:01
#include <a_samp>
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
new Text:Textdraw9;
public OnFilterScriptInit()
{
print("Textdraw file generated by");
print(" Zamaroht's textdraw editor was loaded.");
// Create the textdraws:
Textdraw1 = TextDrawCreate(566.000000, 402.000000, "_");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 0.519999, -36.100032);
TextDrawColor(Textdraw1, -1);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);
TextDrawUseBox(Textdraw1, 1);
TextDrawBoxColor(Textdraw1, 170);
TextDrawTextSize(Textdraw1, 104.000000, 0.000000);
TextDrawSetSelectable(Textdraw1, 0);
Textdraw2 = TextDrawCreate(157.000000, 64.000000, "Bem Vindo Ao Ultimate Roleplay");
TextDrawBackgroundColor(Textdraw2, 255);
TextDrawFont(Textdraw2, 2);
TextDrawLetterSize(Textdraw2, 0.500000, 1.000000);
TextDrawColor(Textdraw2, -1);
TextDrawSetOutline(Textdraw2, 0);
TextDrawSetProportional(Textdraw2, 1);
TextDrawSetShadow(Textdraw2, 1);
TextDrawSetSelectable(Textdraw2, 0);
Textdraw3 = TextDrawCreate(121.000000, 109.000000, "Bem Vindo Ao Ultimate ROLEPLAY, Nosso Servidor e RP");
TextDrawBackgroundColor(Textdraw3, 255);
TextDrawFont(Textdraw3, 2);
TextDrawLetterSize(Textdraw3, 0.349999, 1.400001);
TextDrawColor(Textdraw3, -1);
TextDrawSetOutline(Textdraw3, 0);
TextDrawSetProportional(Textdraw3, 1);
TextDrawSetShadow(Textdraw3, 1);
TextDrawSetSelectable(Textdraw3, 0);
Textdraw4 = TextDrawCreate(119.000000, 141.000000, "Ou Seja Tentamos Simuluar a Sua Vida Real ao Maximo");
TextDrawBackgroundColor(Textdraw4, 255);
TextDrawFont(Textdraw4, 2);
TextDrawLetterSize(Textdraw4, 0.349999, 1.400001);
TextDrawColor(Textdraw4, -1);
TextDrawSetOutline(Textdraw4, 0);
TextDrawSetProportional(Textdraw4, 1);
TextDrawSetShadow(Textdraw4, 1);
TextDrawSetSelectable(Textdraw4, 0);
Textdraw5 = TextDrawCreate(119.000000, 141.000000, "Ou Seja Tentamos Simuluar a Sua Vida Real ao Maximo");
TextDrawBackgroundColor(Textdraw5, 255);
TextDrawFont(Textdraw5, 2);
TextDrawLetterSize(Textdraw5, 0.349999, 1.400001);
TextDrawColor(Textdraw5, -1);
TextDrawSetOutline(Textdraw5, 0);
TextDrawSetProportional(Textdraw5, 1);
TextDrawSetShadow(Textdraw5, 1);
TextDrawSetSelectable(Textdraw5, 0);
Textdraw6 = TextDrawCreate(115.000000, 178.000000, "Entao Tente Simular o Que voce Fas na Sua Vida Real Todos os Dias");
TextDrawBackgroundColor(Textdraw6, 255);
TextDrawFont(Textdraw6, 2);
TextDrawLetterSize(Textdraw6, 0.289999, 1.400001);
TextDrawColor(Textdraw6, -1);
TextDrawSetOutline(Textdraw6, 0);
TextDrawSetProportional(Textdraw6, 1);
TextDrawSetShadow(Textdraw6, 1);
TextDrawSetSelectable(Textdraw6, 0);
Textdraw7 = TextDrawCreate(113.000000, 219.000000, "Entao Vamos Sair Dos Cumprimentos e Ir Para a Apresentacao?");
TextDrawBackgroundColor(Textdraw7, 255);
TextDrawFont(Textdraw7, 2);
TextDrawLetterSize(Textdraw7, 0.310000, 1.400001);
TextDrawColor(Textdraw7, -1);
TextDrawSetOutline(Textdraw7, 0);
TextDrawSetProportional(Textdraw7, 1);
TextDrawSetShadow(Textdraw7, 1);
TextDrawSetSelectable(Textdraw7, 0);
Textdraw9 = TextDrawCreate(285.000000, 290.000000, "Let's Go");
TextDrawBackgroundColor(Textdraw9, 255);
TextDrawFont(Textdraw9, 2);
TextDrawLetterSize(Textdraw9, 0.569998, 3.299999);
TextDrawColor(Textdraw9, -1);
TextDrawSetOutline(Textdraw9, 0);
TextDrawSetProportional(Textdraw9, 1);
TextDrawSetShadow(Textdraw9, 1);
TextDrawSetSelectable(Textdraw9, 0);
return 1;
}
public OnFilterScriptExit()
{
TextDrawHideForAll(Textdraw1);
TextDrawDestroy(Textdraw1);
TextDrawHideForAll(Textdraw2);
TextDrawDestroy(Textdraw2);
TextDrawHideForAll(Textdraw3);
TextDrawDestroy(Textdraw3);
TextDrawHideForAll(Textdraw4);
TextDrawDestroy(Textdraw4);
TextDrawHideForAll(Textdraw5);
TextDrawDestroy(Textdraw5);
TextDrawHideForAll(Textdraw6);
TextDrawDestroy(Textdraw6);
TextDrawHideForAll(Textdraw7);
TextDrawDestroy(Textdraw7);
TextDrawHideForAll(Textdraw9);
TextDrawDestroy(Textdraw9);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
TextDrawShowForPlayer(killerid, Textdraw1);
TextDrawShowForPlayer(killerid, Textdraw2);
TextDrawShowForPlayer(killerid, Textdraw3);
TextDrawShowForPlayer(killerid, Textdraw4);
TextDrawShowForPlayer(killerid, Textdraw5);
TextDrawShowForPlayer(killerid, Textdraw6);
TextDrawShowForPlayer(killerid, Textdraw7);
TextDrawShowForPlayer(killerid, Textdraw9);
SetTimerEx("HideMessage", 10000, 0, "i", killerid);
}
forward HideMessage(playerid);
public HideMessage(playerid)
{
TextDrawHideForPlayer(playerid, Textdraw1);
TextDrawHideForPlayer(playerid, Textdraw2);
TextDrawHideForPlayer(playerid, Textdraw3);
TextDrawHideForPlayer(playerid, Textdraw4);
TextDrawHideForPlayer(playerid, Textdraw5);
TextDrawHideForPlayer(playerid, Textdraw6);
TextDrawHideForPlayer(playerid, Textdraw7);
TextDrawHideForPlayer(playerid, Textdraw9);
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
new Text:Textdraw6;
new Text:Textdraw7;
new Text:Textdraw9;
public OnFilterScriptInit()
{
print("Textdraw file generated by");
print(" Zamaroht's textdraw editor was loaded.");
// Create the textdraws:
Textdraw1 = TextDrawCreate(566.000000, 402.000000, "_");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 0.519999, -36.100032);
TextDrawColor(Textdraw1, -1);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);
TextDrawUseBox(Textdraw1, 1);
TextDrawBoxColor(Textdraw1, 170);
TextDrawTextSize(Textdraw1, 104.000000, 0.000000);
TextDrawSetSelectable(Textdraw1, 0);
Textdraw2 = TextDrawCreate(157.000000, 64.000000, "Bem Vindo Ao Ultimate Roleplay");
TextDrawBackgroundColor(Textdraw2, 255);
TextDrawFont(Textdraw2, 2);
TextDrawLetterSize(Textdraw2, 0.500000, 1.000000);
TextDrawColor(Textdraw2, -1);
TextDrawSetOutline(Textdraw2, 0);
TextDrawSetProportional(Textdraw2, 1);
TextDrawSetShadow(Textdraw2, 1);
TextDrawSetSelectable(Textdraw2, 0);
Textdraw3 = TextDrawCreate(121.000000, 109.000000, "Bem Vindo Ao Ultimate ROLEPLAY, Nosso Servidor e RP");
TextDrawBackgroundColor(Textdraw3, 255);
TextDrawFont(Textdraw3, 2);
TextDrawLetterSize(Textdraw3, 0.349999, 1.400001);
TextDrawColor(Textdraw3, -1);
TextDrawSetOutline(Textdraw3, 0);
TextDrawSetProportional(Textdraw3, 1);
TextDrawSetShadow(Textdraw3, 1);
TextDrawSetSelectable(Textdraw3, 0);
Textdraw4 = TextDrawCreate(119.000000, 141.000000, "Ou Seja Tentamos Simuluar a Sua Vida Real ao Maximo");
TextDrawBackgroundColor(Textdraw4, 255);
TextDrawFont(Textdraw4, 2);
TextDrawLetterSize(Textdraw4, 0.349999, 1.400001);
TextDrawColor(Textdraw4, -1);
TextDrawSetOutline(Textdraw4, 0);
TextDrawSetProportional(Textdraw4, 1);
TextDrawSetShadow(Textdraw4, 1);
TextDrawSetSelectable(Textdraw4, 0);
Textdraw5 = TextDrawCreate(119.000000, 141.000000, "Ou Seja Tentamos Simuluar a Sua Vida Real ao Maximo");
TextDrawBackgroundColor(Textdraw5, 255);
TextDrawFont(Textdraw5, 2);
TextDrawLetterSize(Textdraw5, 0.349999, 1.400001);
TextDrawColor(Textdraw5, -1);
TextDrawSetOutline(Textdraw5, 0);
TextDrawSetProportional(Textdraw5, 1);
TextDrawSetShadow(Textdraw5, 1);
TextDrawSetSelectable(Textdraw5, 0);
Textdraw6 = TextDrawCreate(115.000000, 178.000000, "Entao Tente Simular o Que voce Fas na Sua Vida Real Todos os Dias");
TextDrawBackgroundColor(Textdraw6, 255);
TextDrawFont(Textdraw6, 2);
TextDrawLetterSize(Textdraw6, 0.289999, 1.400001);
TextDrawColor(Textdraw6, -1);
TextDrawSetOutline(Textdraw6, 0);
TextDrawSetProportional(Textdraw6, 1);
TextDrawSetShadow(Textdraw6, 1);
TextDrawSetSelectable(Textdraw6, 0);
Textdraw7 = TextDrawCreate(113.000000, 219.000000, "Entao Vamos Sair Dos Cumprimentos e Ir Para a Apresentacao?");
TextDrawBackgroundColor(Textdraw7, 255);
TextDrawFont(Textdraw7, 2);
TextDrawLetterSize(Textdraw7, 0.310000, 1.400001);
TextDrawColor(Textdraw7, -1);
TextDrawSetOutline(Textdraw7, 0);
TextDrawSetProportional(Textdraw7, 1);
TextDrawSetShadow(Textdraw7, 1);
TextDrawSetSelectable(Textdraw7, 0);
Textdraw9 = TextDrawCreate(285.000000, 290.000000, "Let's Go");
TextDrawBackgroundColor(Textdraw9, 255);
TextDrawFont(Textdraw9, 2);
TextDrawLetterSize(Textdraw9, 0.569998, 3.299999);
TextDrawColor(Textdraw9, -1);
TextDrawSetOutline(Textdraw9, 0);
TextDrawSetProportional(Textdraw9, 1);
TextDrawSetShadow(Textdraw9, 1);
TextDrawSetSelectable(Textdraw9, 0);
return 1;
}
public OnFilterScriptExit()
{
TextDrawHideForAll(Textdraw1);
TextDrawDestroy(Textdraw1);
TextDrawHideForAll(Textdraw2);
TextDrawDestroy(Textdraw2);
TextDrawHideForAll(Textdraw3);
TextDrawDestroy(Textdraw3);
TextDrawHideForAll(Textdraw4);
TextDrawDestroy(Textdraw4);
TextDrawHideForAll(Textdraw5);
TextDrawDestroy(Textdraw5);
TextDrawHideForAll(Textdraw6);
TextDrawDestroy(Textdraw6);
TextDrawHideForAll(Textdraw7);
TextDrawDestroy(Textdraw7);
TextDrawHideForAll(Textdraw9);
TextDrawDestroy(Textdraw9);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
TextDrawShowForPlayer(killerid, Textdraw1);
TextDrawShowForPlayer(killerid, Textdraw2);
TextDrawShowForPlayer(killerid, Textdraw3);
TextDrawShowForPlayer(killerid, Textdraw4);
TextDrawShowForPlayer(killerid, Textdraw5);
TextDrawShowForPlayer(killerid, Textdraw6);
TextDrawShowForPlayer(killerid, Textdraw7);
TextDrawShowForPlayer(killerid, Textdraw9);
SetTimerEx("HideMessage", 10000, 0, "i", killerid);
}
forward HideMessage(playerid);
public HideMessage(playerid)
{
TextDrawHideForPlayer(playerid, Textdraw1);
TextDrawHideForPlayer(playerid, Textdraw2);
TextDrawHideForPlayer(playerid, Textdraw3);
TextDrawHideForPlayer(playerid, Textdraw4);
TextDrawHideForPlayer(playerid, Textdraw5);
TextDrawHideForPlayer(playerid, Textdraw6);
TextDrawHideForPlayer(playerid, Textdraw7);
TextDrawHideForPlayer(playerid, Textdraw9);