[Ajuda] Ajuda Bбsica
#4

Quote:
Originally Posted by OrNot
Посмотреть сообщение
Me manda o cуdigo todo correto por favor.
eu sou uma pessoa muito boa

pawn Код:
#include <a_samp>

new Text:Reloginho1;

public OnFilterScriptInit()
{
    SetTimer("reloginho",1000,1);
    Reloginho1 = TextDrawCreate(525.000000,5.000000,"--");
    TextDrawAlignment(Reloginho1,0);
    TextDrawBackgroundColor(Reloginho1,0x000000FF);
    TextDrawFont(Reloginho1,2);
    TextDrawLetterSize(Reloginho1,0.399999,2.000000);
    TextDrawColor(Reloginho1,0xFFFFFFFF);
    TextDrawSetProportional(Reloginho1,1);
    TextDrawSetShadow(Reloginho1,1);
    TextDrawSetOutline(Reloginho1,1);
    TextDrawShowForAll(Reloginho1);
    return 1;
}

public OnFilterScriptExit() return  TextDrawDestroy(Reloginho1);
public OnPlayerSpawn(playerid) return TextDrawHideForAll(Reloginho1);

forward reloginho(playerid); public reloginho(playerid)
{
    new string[128], ano, mes, dia;
    getdate(ano, mes, dia);
    format(string, sizeof string, "%d/%s%d/2014", dia, ((mes < 10) ? ("0") : ("")), mes), TextDrawSetString(Reloginho1, string);
}
Reply


Messages In This Thread
Ajuda Bбsica - by OrNot - 14.02.2014, 15:08
Re: Ajuda Bбsica - by Axll - 14.02.2014, 15:20
Re: Ajuda Bбsica - by OrNot - 14.02.2014, 15:26
Re: Ajuda Bбsica - by Axll - 14.02.2014, 15:31
Re: Ajuda Bбsica - by xXCallXX - 14.02.2014, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)