Eu fis meu logotipo do meu servidor, ele esta funcionando tudo Ok! mas quando uso o comando /gmx (que reinicia o servidor) A tela fica toda preta :/
PHP код:
// PREDA's SCRIPT // THANKS TO ALL MY SUPORTERS //
#define FILTERSCRIPT
#include <a_samp>
new Text:Textdrawscorevapaputaqueparui6;
new Text:Textdrawscorevapaputaqueparui1;
forward reloginhoputz(playerid);
new Text:reloginhoputz1;
new Text:reloginhoputz2;
public OnFilterScriptInit()
{
print("\n----------Signed, Preda----------------------------");
print(" MY SCRIPT - FIREFIGHTER ON DUTY");
print("------------Signed, Preda--------------------------\n");
Textdrawscorevapaputaqueparui6 = TextDrawCreate(520.100000, 387.000000, "BCF");
TextDrawBackgroundColor(Textdrawscorevapaputaqueparui6, -65281);
TextDrawFont(Textdrawscorevapaputaqueparui6, 2);
TextDrawLetterSize(Textdrawscorevapaputaqueparui6, 1.400000, 4.000000);
TextDrawColor(Textdrawscorevapaputaqueparui6, 65535);
TextDrawSetOutline(Textdrawscorevapaputaqueparui6, -1);
TextDrawSetProportional(Textdrawscorevapaputaqueparui6, 1);
Textdrawscorevapaputaqueparui1 = TextDrawCreate(0.100000, 340.000000, "lololololololololololololololololololololololololololololololololololololololololololololololol");
TextDrawBackgroundColor(Textdrawscorevapaputaqueparui1, -16776961);
TextDrawFont(Textdrawscorevapaputaqueparui1, 2);
TextDrawLetterSize(Textdrawscorevapaputaqueparui1, 0.600000, 1.700000);
TextDrawColor(Textdrawscorevapaputaqueparui1, -1375784961);
TextDrawSetOutline(Textdrawscorevapaputaqueparui1, -2);
TextDrawSetProportional(Textdrawscorevapaputaqueparui1, 1);
SetTimer("reloginhoputz",1000,1);
reloginhoputz1 = TextDrawCreate(515.000000,417.000000,"--");
reloginhoputz2 = TextDrawCreate(534.000000,430.000000,"--");
TextDrawAlignment(reloginhoputz1,0);
TextDrawAlignment(reloginhoputz2,0);
TextDrawBackgroundColor(reloginhoputz1,0x000000FF);
TextDrawBackgroundColor(reloginhoputz2,0x000000FF);
TextDrawFont(reloginhoputz1,2);
TextDrawLetterSize(reloginhoputz1,0.399999,2.000000);
TextDrawFont(reloginhoputz2,2);
TextDrawLetterSize(reloginhoputz2,0.399999,2.000000);
TextDrawColor(reloginhoputz1,0xFFFFFFFF);
TextDrawColor(reloginhoputz2,0xFFFFFFFF);
TextDrawSetProportional(reloginhoputz1,1);
TextDrawSetProportional(reloginhoputz2,1);
TextDrawSetShadow(reloginhoputz1,1);
TextDrawSetShadow(reloginhoputz2,1);
TextDrawSetOutline(reloginhoputz1,1);
TextDrawSetOutline(reloginhoputz2,1);
TextDrawShowForAll(reloginhoputz1);
TextDrawShowForAll(reloginhoputz2);
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Text:Textdrawscorevapaputaqueparui1);
return 1;
}
public OnFilterScriptExit()
{
TextDrawDestroy(reloginhoputz1);
TextDrawDestroy(reloginhoputz2);
TextDrawHideForAll(reloginhoputz1);
TextDrawHideForAll(reloginhoputz2);
print("[FS]reloginhoputz foi deslogado com Sucesso! :)");
return 1;
}
//-----------=================-----------//
public OnPlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, Text:Textdrawscorevapaputaqueparui6);
TextDrawDestroy(Text:Textdrawscorevapaputaqueparui1);
TextDrawHideForAll(reloginhoputz1);
TextDrawShowForPlayer(playerid, reloginhoputz1);
TextDrawHideForAll(reloginhoputz2);
TextDrawShowForPlayer(playerid, reloginhoputz2);
return 1;
}
//-----------=================-----------//
public reloginhoputz(playerid)
{
new
string[256],
ano,
mes,
dia,
horas,
minutos,
segundos;
getdate(ano, mes, dia);
gettime(horas, minutos, segundos);
format(string, sizeof string, "%d/%s%d/2013", dia, ((mes < 10) ? ("0") : ("")), mes);
TextDrawSetString(reloginhoputz1, string);
format(string, sizeof string, "%s%d:%s%d:%s%d", (horas < 10) ? ("0") : (""), horas, (minutos < 10) ? ("0") : (""), minutos, (segundos < 10) ? ("0") : (""), segundos);
TextDrawSetString(reloginhoputz2, string);
}