[Ajuda] TextDrawCreate
#1

meu servidor tem um text draw que fala o nome do sv e etc,Eu queria saber como descobro as cordenadas da tela...

Esse text draw diz a hora,o dia,o forum e o nomedo do sv,Eu queria trocar de lugar
pawn Код:
ServerLogo1 = TextDrawCreate(550.0,405.0, "~w~~h~~h~Brasil~r~Second~y~Life~b~RP");
    TextDrawFont(ServerLogo1, 1);
    TextDrawColor(ServerLogo1, 0xFFFFFFFF);
    TextDrawLetterSize(ServerLogo1, 0.5, 2.0);
    TextDrawSetOutline(ServerLogo1, 1);
    TextDrawSetProportional(ServerLogo1, 1);
    TextDrawAlignment(ServerLogo1, 2);
    TextDrawBackgroundColor(ServerLogo1, 0x000000FF);
    TextDrawSetShadow(ServerLogo1, 1);

    gettime(ClockTime[tHour], ClockTime[tMinute], ClockTime[tSecond]);
    getdate(ClockTime[dYear], ClockTime[dMonth], ClockTime[dDay]);

    new str[128];
    format(str,128, "%s~n~%02d:%02d:%02d - %02d/%02d ~n~%d/%d",SITE_URL, ClockTime[tHour], ClockTime[tMinute], ClockTime[tSecond], ClockTime[dDay], ClockTime[dMonth], Online, GetMaxPlayers());

    ServerLogo2 = TextDrawCreate(550.0,423.0, str);
    TextDrawFont(ServerLogo2, 2);
    TextDrawColor(ServerLogo2, 0xE5E5E5FF);
    TextDrawLetterSize(ServerLogo2, 0.2, 0.7);
    TextDrawSetOutline(ServerLogo2, 1);
    TextDrawSetProportional(ServerLogo2, 1);
    TextDrawAlignment(ServerLogo2, 2);
    TextDrawBackgroundColor(ServerLogo2, 0x000000FF);
    TextDrawSetShadow(ServerLogo2, 1);
Exemplo


Reply


Messages In This Thread
TextDrawCreate - by JuniorRock - 10.02.2013, 05:01
Re: TextDrawCreate - by zSuYaNw - 10.02.2013, 05:13
Re: TextDrawCreate - by JuniorRock - 10.02.2013, 05:17
Re: TextDrawCreate - by zSuYaNw - 10.02.2013, 05:27

Forum Jump:


Users browsing this thread: 1 Guest(s)