Olá, venho trazer um /creditos em TextDraw eu poderia usar no meu serve parcero mas qr o melhor para vocês
'new':
new Text:Rules1;
new Text:Rules2;
new Text:Rules3;
new Text:Rules4;
new Text:Rules5;
new Text:Rules6;
new Text:Rules7;
new Text:Rules8;
new Text:Rules9;
new Text:Rules10;
new Text:Rules11;
new Text:Rules12;
new Text:Rules13;
new Text:Rules14;
--
new TempoTextDrawCreditos[MAX_PLAYERS];
'TextDraw':
Rules1 = TextDrawCreate(319.000000, 59.000000, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~");
TextDrawAlignment(Rules1, 2);
TextDrawBackgroundColor(Rules1, 255);
TextDrawFont(Rules1, 1);
TextDrawLetterSize(Rules1, 0.990000, 1.400000);
TextDrawColor(Rules1, -1);
TextDrawSetOutline(Rules1, 0);
TextDrawSetProportional(Rules1, 1);
TextDrawSetShadow(Rules1, 1);
TextDrawUseBox(Rules1, 1);
TextDrawBoxColor(Rules1, 50);
TextDrawTextSize(Rules1, 9.000000, -452.000000);
Rules2 = TextDrawCreate(319.000000, 60.000000, "~d~ ~y~SS~w~Games ~d~");
TextDrawAlignment(Rules2, 2);
TextDrawBackgroundColor(Rules2, 255);
TextDrawFont(Rules2, 0);
TextDrawLetterSize(Rules2, 0.649999, 2.000000);
TextDrawColor(Rules2, -1778384641);
TextDrawSetOutline(Rules2, 1);
TextDrawSetProportional(Rules2, 1);
Rules3 = TextDrawCreate(315.000000, 82.000000, "~w~Bem Vindo ao Nosso Servidor!");
TextDrawBackgroundColor(Rules3, 255);
TextDrawAlignment(Rules3, 2);
TextDrawBackgroundColor(Rules3, 255);
TextDrawFont(Rules3, 2);
TextDrawLetterSize(Rules3, 0.559999, 1.800000);
TextDrawColor(Rules3, -1778384641);
TextDrawSetOutline(Rules3, 1);
TextDrawSetProportional(Rules3, 1);
Rules4 = TextDrawCreate(322.000000, 104.000000, "~w~Voce e o Futuro do nosso servidor");
TextDrawBackgroundColor(Rules4, 255);
TextDrawAlignment(Rules4, 2);
TextDrawBackgroundColor(Rules4, 255);
TextDrawFont(Rules4, 3);
TextDrawLetterSize(Rules4, 0.589999, 2.100000);
TextDrawColor(Rules4, -1778384641);
TextDrawSetOutline(Rules4, 1);
TextDrawSetProportional(Rules4, 1);
Rules5 = TextDrawCreate(100.000000, 178.000000, "~w~Donos: ~p~ThuG_Inside!");
TextDrawBackgroundColor(Rules5, 255);
TextDrawFont(Rules5, 1);
TextDrawLetterSize(Rules5, 0.400000, 1.500000);
TextDrawColor(Rules5, -1778384641);
TextDrawSetOutline(Rules5, 1);
TextDrawSetProportional(Rules5, 1);
Rules6 = TextDrawCreate(116.000000, 197.000000, "~w~Sub-Donos: ~p~Tiao_Nescau!");
TextDrawBackgroundColor(Rules6, 255);
TextDrawFont(Rules6, 1);
TextDrawLetterSize(Rules6, 0.220000, 0.899999);
TextDrawColor(Rules6, -1778384641);
TextDrawSetOutline(Rules6, 1);
TextDrawSetProportional(Rules6, 1);
Rules7 = TextDrawCreate(137.000000, 141.000000, " ~w~Scripts: ~p~ Tiao & ThuG!");
TextDrawBackgroundColor(Rules7, 255);
TextDrawFont(Rules7, 1);
TextDrawLetterSize(Rules7, 0.500000, 1.400000);
TextDrawColor(Rules7, -1778384641);
TextDrawSetOutline(Rules7, 1);
TextDrawSetProportional(Rules7, 1);
Rules8 = TextDrawCreate(116.000000, 251.000000, "~w~Mappers: ~p~ ThuG_Inside");
TextDrawBackgroundColor(Rules8, 255);
TextDrawFont(Rules8, 1);
TextDrawLetterSize(Rules8, 0.220000, 0.899999);
TextDrawColor(Rules8, -1778384641);
TextDrawSetOutline(Rules8, 1);
TextDrawSetProportional(Rules8, 1);
Rules9 = TextDrawCreate(116.000000, 305.000000, "~w~Tutorial Feito por ~p~ ThuG_Inside");
TextDrawBackgroundColor(Rules9, 255);
TextDrawFont(Rules9, 1);
TextDrawLetterSize(Rules9, 0.220000, 0.899999);
TextDrawColor(Rules9, -1778384641);
TextDrawColor(Rules9, -1778384641);
TextDrawSetOutline(Rules9, 1);
TextDrawSetProportional(Rules9, 1);
Rules10 = TextDrawCreate(534.000000, 178.000000, "~w~Agradecimentos para");
TextDrawBackgroundColor(Rules10, 255);
TextDrawAlignment(Rules10, 3);
TextDrawBackgroundColor(Rules10, 255);
TextDrawFont(Rules10, 1);
TextDrawLetterSize(Rules10, 0.400000, 1.500000);
TextDrawColor(Rules10, -1778384641);
TextDrawSetOutline(Rules10, 1);
TextDrawSetProportional(Rules10, 1);
Rules11 = TextDrawCreate(511.000000, 253.000000, "~p~Tiao_Nescau, ~w~Por Empresta seu Nick para Basear");
TextDrawBackgroundColor(Rules11, 255);
TextDrawAlignment(Rules11, 3);
TextDrawFont(Rules11, 1);
TextDrawLetterSize(Rules11, 0.220000, 0.899999);
TextDrawColor(Rules11, -1778384641);
TextDrawColor(Rules11, -1778384641);
TextDrawSetOutline(Rules11, 1);
TextDrawSetProportional(Rules11, 1);
Rules12 = TextDrawCreate(511.000000, 195.000000, "~p~Weslley_Script ~w~Fundou a ~y~SS~w~Games...");
TextDrawBackgroundColor(Rules12, 255);
TextDrawAlignment(Rules12, 3);
TextDrawFont(Rules12, 1);
TextDrawLetterSize(Rules12, 0.220000, 0.899999);
TextDrawColor(Rules12, -1778384641);
TextDrawSetOutline(Rules12, 1);
TextDrawSetProportional(Rules12, 1);
Rules13 = TextDrawCreate(511.000000, 307.000000, "~w~Duvidas de Pawno? Mapper? Skype: ~p~ marcos.wendel5~w~!");
TextDrawBackgroundColor(Rules13, 255);
TextDrawAlignment(Rules13, 3);
TextDrawFont(Rules13, 1);
TextDrawLetterSize(Rules13, 0.220000, 0.899999);
TextDrawColor(Rules13, -1778384641);
TextDrawColor(Rules13, -1778384641);
TextDrawSetOutline(Rules13, 1);
TextDrawSetProportional(Rules13, 1);
Rules14 = TextDrawCreate(171.000000, 373.000000, "~p~Creditos para ~w~ThuG_Inside~p~! ~b~");
TextDrawBackgroundColor(Rules14, 255);
TextDrawFont(Rules14, 1);
TextDrawLetterSize(Rules14, 0.500000, 1.000000);
TextDrawColor(Rules14, -1778384641);
TextDrawColor(Rules14, -1778384641);
TextDrawSetOutline(Rules14, 1);
TextDrawSetProportional(Rules14, 1);
'forward e public':
forward ShowRules(playerid);
public ShowRules(playerid)
{
TextDrawShowForPlayer(playerid, Rules1);
TextDrawShowForPlayer(playerid, Rules2);
TextDrawShowForPlayer(playerid, Rules3);
TextDrawShowForPlayer(playerid, Rules4);
TextDrawShowForPlayer(playerid, Rules5);
TextDrawShowForPlayer(playerid, Rules6);
TextDrawShowForPlayer(playerid, Rules7);
TextDrawShowForPlayer(playerid, Rules8);
TextDrawShowForPlayer(playerid, Rules9);
TextDrawShowForPlayer(playerid, Rules10);
TextDrawShowForPlayer(playerid, Rules11);
TextDrawShowForPlayer(playerid, Rules12);
TextDrawShowForPlayer(playerid, Rules13);
TextDrawShowForPlayer(playerid, Rules14);
return 1;
}
--
forward HideRules(playerid);
public HideRules(playerid)
{
TextDrawHideForPlayer(playerid, Rules1);
TextDrawHideForPlayer(playerid, Rules2);
TextDrawHideForPlayer(playerid, Rules3);
TextDrawHideForPlayer(playerid, Rules4);
TextDrawHideForPlayer(playerid, Rules5);
TextDrawHideForPlayer(playerid, Rules6);
TextDrawHideForPlayer(playerid, Rules7);
TextDrawHideForPlayer(playerid, Rules8);
TextDrawHideForPlayer(playerid, Rules9);
TextDrawHideForPlayer(playerid, Rules10);
TextDrawHideForPlayer(playerid, Rules11);
TextDrawHideForPlayer(playerid, Rules12);
TextDrawHideForPlayer(playerid, Rules13);
TextDrawHideForPlayer(playerid, Rules14);
return 1;
}
---
forward TextDrawCreditos(playerid);
public TextDrawCreditos(playerid)
{
KillTimer(TempoTextDrawCreditos[playerid]);
HideRules(playerid);
return true;
}
'new':
new Text:Rules1;
new Text:Rules2;
new Text:Rules3;
new Text:Rules4;
new Text:Rules5;
new Text:Rules6;
new Text:Rules7;
new Text:Rules8;
new Text:Rules9;
new Text:Rules10;
new Text:Rules11;
new Text:Rules12;
new Text:Rules13;
new Text:Rules14;
--
new TempoTextDrawCreditos[MAX_PLAYERS];
'TextDraw':
Rules1 = TextDrawCreate(319.000000, 59.000000, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~");
TextDrawAlignment(Rules1, 2);
TextDrawBackgroundColor(Rules1, 255);
TextDrawFont(Rules1, 1);
TextDrawLetterSize(Rules1, 0.990000, 1.400000);
TextDrawColor(Rules1, -1);
TextDrawSetOutline(Rules1, 0);
TextDrawSetProportional(Rules1, 1);
TextDrawSetShadow(Rules1, 1);
TextDrawUseBox(Rules1, 1);
TextDrawBoxColor(Rules1, 50);
TextDrawTextSize(Rules1, 9.000000, -452.000000);
Rules2 = TextDrawCreate(319.000000, 60.000000, "~d~ ~y~SS~w~Games ~d~");
TextDrawAlignment(Rules2, 2);
TextDrawBackgroundColor(Rules2, 255);
TextDrawFont(Rules2, 0);
TextDrawLetterSize(Rules2, 0.649999, 2.000000);
TextDrawColor(Rules2, -1778384641);
TextDrawSetOutline(Rules2, 1);
TextDrawSetProportional(Rules2, 1);
Rules3 = TextDrawCreate(315.000000, 82.000000, "~w~Bem Vindo ao Nosso Servidor!");
TextDrawBackgroundColor(Rules3, 255);
TextDrawAlignment(Rules3, 2);
TextDrawBackgroundColor(Rules3, 255);
TextDrawFont(Rules3, 2);
TextDrawLetterSize(Rules3, 0.559999, 1.800000);
TextDrawColor(Rules3, -1778384641);
TextDrawSetOutline(Rules3, 1);
TextDrawSetProportional(Rules3, 1);
Rules4 = TextDrawCreate(322.000000, 104.000000, "~w~Voce e o Futuro do nosso servidor");
TextDrawBackgroundColor(Rules4, 255);
TextDrawAlignment(Rules4, 2);
TextDrawBackgroundColor(Rules4, 255);
TextDrawFont(Rules4, 3);
TextDrawLetterSize(Rules4, 0.589999, 2.100000);
TextDrawColor(Rules4, -1778384641);
TextDrawSetOutline(Rules4, 1);
TextDrawSetProportional(Rules4, 1);
Rules5 = TextDrawCreate(100.000000, 178.000000, "~w~Donos: ~p~ThuG_Inside!");
TextDrawBackgroundColor(Rules5, 255);
TextDrawFont(Rules5, 1);
TextDrawLetterSize(Rules5, 0.400000, 1.500000);
TextDrawColor(Rules5, -1778384641);
TextDrawSetOutline(Rules5, 1);
TextDrawSetProportional(Rules5, 1);
Rules6 = TextDrawCreate(116.000000, 197.000000, "~w~Sub-Donos: ~p~Tiao_Nescau!");
TextDrawBackgroundColor(Rules6, 255);
TextDrawFont(Rules6, 1);
TextDrawLetterSize(Rules6, 0.220000, 0.899999);
TextDrawColor(Rules6, -1778384641);
TextDrawSetOutline(Rules6, 1);
TextDrawSetProportional(Rules6, 1);
Rules7 = TextDrawCreate(137.000000, 141.000000, " ~w~Scripts: ~p~ Tiao & ThuG!");
TextDrawBackgroundColor(Rules7, 255);
TextDrawFont(Rules7, 1);
TextDrawLetterSize(Rules7, 0.500000, 1.400000);
TextDrawColor(Rules7, -1778384641);
TextDrawSetOutline(Rules7, 1);
TextDrawSetProportional(Rules7, 1);
Rules8 = TextDrawCreate(116.000000, 251.000000, "~w~Mappers: ~p~ ThuG_Inside");
TextDrawBackgroundColor(Rules8, 255);
TextDrawFont(Rules8, 1);
TextDrawLetterSize(Rules8, 0.220000, 0.899999);
TextDrawColor(Rules8, -1778384641);
TextDrawSetOutline(Rules8, 1);
TextDrawSetProportional(Rules8, 1);
Rules9 = TextDrawCreate(116.000000, 305.000000, "~w~Tutorial Feito por ~p~ ThuG_Inside");
TextDrawBackgroundColor(Rules9, 255);
TextDrawFont(Rules9, 1);
TextDrawLetterSize(Rules9, 0.220000, 0.899999);
TextDrawColor(Rules9, -1778384641);
TextDrawColor(Rules9, -1778384641);
TextDrawSetOutline(Rules9, 1);
TextDrawSetProportional(Rules9, 1);
Rules10 = TextDrawCreate(534.000000, 178.000000, "~w~Agradecimentos para");
TextDrawBackgroundColor(Rules10, 255);
TextDrawAlignment(Rules10, 3);
TextDrawBackgroundColor(Rules10, 255);
TextDrawFont(Rules10, 1);
TextDrawLetterSize(Rules10, 0.400000, 1.500000);
TextDrawColor(Rules10, -1778384641);
TextDrawSetOutline(Rules10, 1);
TextDrawSetProportional(Rules10, 1);
Rules11 = TextDrawCreate(511.000000, 253.000000, "~p~Tiao_Nescau, ~w~Por Empresta seu Nick para Basear");
TextDrawBackgroundColor(Rules11, 255);
TextDrawAlignment(Rules11, 3);
TextDrawFont(Rules11, 1);
TextDrawLetterSize(Rules11, 0.220000, 0.899999);
TextDrawColor(Rules11, -1778384641);
TextDrawColor(Rules11, -1778384641);
TextDrawSetOutline(Rules11, 1);
TextDrawSetProportional(Rules11, 1);
Rules12 = TextDrawCreate(511.000000, 195.000000, "~p~Weslley_Script ~w~Fundou a ~y~SS~w~Games...");
TextDrawBackgroundColor(Rules12, 255);
TextDrawAlignment(Rules12, 3);
TextDrawFont(Rules12, 1);
TextDrawLetterSize(Rules12, 0.220000, 0.899999);
TextDrawColor(Rules12, -1778384641);
TextDrawSetOutline(Rules12, 1);
TextDrawSetProportional(Rules12, 1);
Rules13 = TextDrawCreate(511.000000, 307.000000, "~w~Duvidas de Pawno? Mapper? Skype: ~p~ marcos.wendel5~w~!");
TextDrawBackgroundColor(Rules13, 255);
TextDrawAlignment(Rules13, 3);
TextDrawFont(Rules13, 1);
TextDrawLetterSize(Rules13, 0.220000, 0.899999);
TextDrawColor(Rules13, -1778384641);
TextDrawColor(Rules13, -1778384641);
TextDrawSetOutline(Rules13, 1);
TextDrawSetProportional(Rules13, 1);
Rules14 = TextDrawCreate(171.000000, 373.000000, "~p~Creditos para ~w~ThuG_Inside~p~! ~b~");
TextDrawBackgroundColor(Rules14, 255);
TextDrawFont(Rules14, 1);
TextDrawLetterSize(Rules14, 0.500000, 1.000000);
TextDrawColor(Rules14, -1778384641);
TextDrawColor(Rules14, -1778384641);
TextDrawSetOutline(Rules14, 1);
TextDrawSetProportional(Rules14, 1);
'forward e public':
forward ShowRules(playerid);
public ShowRules(playerid)
{
TextDrawShowForPlayer(playerid, Rules1);
TextDrawShowForPlayer(playerid, Rules2);
TextDrawShowForPlayer(playerid, Rules3);
TextDrawShowForPlayer(playerid, Rules4);
TextDrawShowForPlayer(playerid, Rules5);
TextDrawShowForPlayer(playerid, Rules6);
TextDrawShowForPlayer(playerid, Rules7);
TextDrawShowForPlayer(playerid, Rules8);
TextDrawShowForPlayer(playerid, Rules9);
TextDrawShowForPlayer(playerid, Rules10);
TextDrawShowForPlayer(playerid, Rules11);
TextDrawShowForPlayer(playerid, Rules12);
TextDrawShowForPlayer(playerid, Rules13);
TextDrawShowForPlayer(playerid, Rules14);
return 1;
}
--
forward HideRules(playerid);
public HideRules(playerid)
{
TextDrawHideForPlayer(playerid, Rules1);
TextDrawHideForPlayer(playerid, Rules2);
TextDrawHideForPlayer(playerid, Rules3);
TextDrawHideForPlayer(playerid, Rules4);
TextDrawHideForPlayer(playerid, Rules5);
TextDrawHideForPlayer(playerid, Rules6);
TextDrawHideForPlayer(playerid, Rules7);
TextDrawHideForPlayer(playerid, Rules8);
TextDrawHideForPlayer(playerid, Rules9);
TextDrawHideForPlayer(playerid, Rules10);
TextDrawHideForPlayer(playerid, Rules11);
TextDrawHideForPlayer(playerid, Rules12);
TextDrawHideForPlayer(playerid, Rules13);
TextDrawHideForPlayer(playerid, Rules14);
return 1;
}
---
forward TextDrawCreditos(playerid);
public TextDrawCreditos(playerid)
{
KillTimer(TempoTextDrawCreditos[playerid]);
HideRules(playerid);
return true;
}
Comando:
if(strcmp(cmd, "/creditos", true) == 0)
{
if(IsPlayerConnected(playerid))
{
ShowRules(playerid);
TempoTextDrawCreditos[playerid] = SetTimerEx("TextDrawCreditos", 12000, 0, "i", playerid);
return true;
}
}
Resultado: