28.01.2019, 12:33
Mano tem essa mas acho q nao e.
#include <a_samp>
new Text:Textdrawaddip;
new Text:Textdrawclan;
new Text:Textdrawex;
public OnFilterScriptInit()
{
// Create the textdraws:
/*Textdrawaddip = TextDrawCreate(42.000000, 305.000000, " Add Nosso ip:~n~198.50.244.206:7778");
TextDrawBackgroundColor(Textdrawaddip, 255);
TextDrawFont(Textdrawaddip, 2);
TextDrawLetterSize(Textdrawaddip, 0.200000, 1.200000);
TextDrawColor(Textdrawaddip, 0x00FF00FF);
TextDrawSetOutline(Textdrawaddip, 1);
TextDrawSetProportional(Textdrawaddip, 1);*/
Textdrawclan = TextDrawCreate(42.000000, 320.000000, " Mundo Dos Experts");
TextDrawBackgroundColor(Textdrawclan, 255);
TextDrawFont(Textdrawclan, 0);
TextDrawLetterSize(Textdrawclan, 0.400000, 1.900000);
TextDrawColor(Textdrawclan, 0x6B6A67FF);
TextDrawSetOutline(Textdrawclan, 1);
TextDrawSetProportional(Textdrawclan, 1);
/* Textdrawex = TextDrawCreate(500.000000, 360.000000, "~l~]]]]]]~n~Mundo Extremo~n~]]]]]]");
TextDrawBackgroundColor(Textdrawex, 0x00FF00FF);
TextDrawFont(Textdrawex, 0);
TextDrawLetterSize(Textdrawex, 0.700000, 1.900000);
TextDrawColor(Textdrawex, -1);
TextDrawSetOutline(Textdrawex, 1);
TextDrawSetProportional(Textdrawex, 1);*/
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, Textdrawaddip);
TextDrawShowForPlayer(i, Textdrawclan);
TextDrawShowForPlayer(i, Textdrawex);
}
}
return 1;
}
public OnFilterScriptExit()
{
TextDrawHideForAll(Textdrawaddip);
TextDrawDestroy(Textdrawaddip);
TextDrawHideForAll(Textdrawclan);
TextDrawDestroy(Textdrawclan);
TextDrawHideForAll(Textdrawex);
TextDrawDestroy(Textdrawex);
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdrawaddip);
TextDrawShowForPlayer(playerid, Textdrawclan);
TextDrawShowForPlayer(playerid, Textdrawex);
return 1;
}
#include <a_samp>
new Text:Textdrawaddip;
new Text:Textdrawclan;
new Text:Textdrawex;
public OnFilterScriptInit()
{
// Create the textdraws:
/*Textdrawaddip = TextDrawCreate(42.000000, 305.000000, " Add Nosso ip:~n~198.50.244.206:7778");
TextDrawBackgroundColor(Textdrawaddip, 255);
TextDrawFont(Textdrawaddip, 2);
TextDrawLetterSize(Textdrawaddip, 0.200000, 1.200000);
TextDrawColor(Textdrawaddip, 0x00FF00FF);
TextDrawSetOutline(Textdrawaddip, 1);
TextDrawSetProportional(Textdrawaddip, 1);*/
Textdrawclan = TextDrawCreate(42.000000, 320.000000, " Mundo Dos Experts");
TextDrawBackgroundColor(Textdrawclan, 255);
TextDrawFont(Textdrawclan, 0);
TextDrawLetterSize(Textdrawclan, 0.400000, 1.900000);
TextDrawColor(Textdrawclan, 0x6B6A67FF);
TextDrawSetOutline(Textdrawclan, 1);
TextDrawSetProportional(Textdrawclan, 1);
/* Textdrawex = TextDrawCreate(500.000000, 360.000000, "~l~]]]]]]~n~Mundo Extremo~n~]]]]]]");
TextDrawBackgroundColor(Textdrawex, 0x00FF00FF);
TextDrawFont(Textdrawex, 0);
TextDrawLetterSize(Textdrawex, 0.700000, 1.900000);
TextDrawColor(Textdrawex, -1);
TextDrawSetOutline(Textdrawex, 1);
TextDrawSetProportional(Textdrawex, 1);*/
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, Textdrawaddip);
TextDrawShowForPlayer(i, Textdrawclan);
TextDrawShowForPlayer(i, Textdrawex);
}
}
return 1;
}
public OnFilterScriptExit()
{
TextDrawHideForAll(Textdrawaddip);
TextDrawDestroy(Textdrawaddip);
TextDrawHideForAll(Textdrawclan);
TextDrawDestroy(Textdrawclan);
TextDrawHideForAll(Textdrawex);
TextDrawDestroy(Textdrawex);
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdrawaddip);
TextDrawShowForPlayer(playerid, Textdrawclan);
TextDrawShowForPlayer(playerid, Textdrawex);
return 1;
}