Textdraw Message help
#6

pawn Код:
#include <a_samp>

new Text:Textdrawdot;
new Text:Textdrawname;
new AutoMessageNum = 0;

public OnFilterScriptInit()
{
Textdrawname = TextDrawCreate(243.500000, 404.250000, "FastAndFurious.Usa.cc");
TextDrawLetterSize(Textdrawname, 0.449999, 1.600000);
TextDrawAlignment(Textdrawname, 1);
TextDrawColor(Textdrawname, -1);
TextDrawSetShadow(Textdrawname, 0);
TextDrawSetOutline(Textdrawname, 1);
TextDrawBackgroundColor(Textdrawname, 51);
TextDrawFont(Textdrawname, 3);
TextDrawSetProportional(Textdrawname, 1);

Textdrawdot = TextDrawCreate(475.500000, 327.833007, "");
TextDrawLetterSize(Textdrawdot, 0.449999, 1.600000);
TextDrawAlignment(Textdrawdot, 1);
TextDrawColor(Textdrawdot, -5963521);
TextDrawSetShadow(Textdrawdot, 0);
TextDrawSetOutline(Textdrawdot, 1);
TextDrawBackgroundColor(Textdrawdot, 51);
TextDrawFont(Textdrawdot, 1);
TextDrawSetProportional(Textdrawdot, 1);

SetTimer("AutoMessage", 3*45, true);
return 1;
}


forward AutoMessage();
public AutoMessage()
{
    AutoMessageNum ++;
    switch(AutoMessageNum)
    {
        case 1: TextDrawSetString(Textdrawname, "~r~F~W~astAndFurious.Usa.c~r~c");
        case 2: TextDrawSetString(Textdrawname, "~r~Fa~W~stAndFurious.Usa~r~.cc");
        case 3: TextDrawSetString(Textdrawname, "~r~Fas~W~tAndFurious.Us~r~a.cc");
        case 4: TextDrawSetString(Textdrawname, "~r~Fast~W~AndFurious.U~r~sa.cc");
        case 5: TextDrawSetString(Textdrawname, "~r~FastA~W~ndFurious~r~.Usa.cc");
        case 6: TextDrawSetString(Textdrawname, "~r~FastAn~W~dFuriou~r~s.Usa.cc");
        case 7: TextDrawSetString(Textdrawname, "~r~FastAnd~W~Furio~r~us.Usa.cc");
        case 8: TextDrawSetString(Textdrawname, "~r~FastAndF~W~uri~r~ous.Usa.cc");
        case 9: TextDrawSetString(Textdrawname, "~r~FastAndFu~W~r~r~ious.Usa.cc");
        case 10: TextDrawSetString(Textdrawname, "~r~FastAndFurious.Usa.cc");
        case 11: TextDrawSetString(Textdrawname, "FastAndFurious.Usa.cc");

        case 12: TextDrawSetString(Textdrawname, "~y~F~W~astAndFurious.Usa.c~y~c");
        case 13: TextDrawSetString(Textdrawname, "~y~Fa~W~stAndFurious.Usa~y~.cc");
        case 14: TextDrawSetString(Textdrawname, "~y~Fas~W~tAndFurious.Us~y~a.cc");
        case 15: TextDrawSetString(Textdrawname, "~y~Fast~W~AndFurious.U~y~sa.cc");
        case 16: TextDrawSetString(Textdrawname, "~y~FastA~W~ndFurious~y~.Usa.cc");
        case 17: TextDrawSetString(Textdrawname, "~y~FastAn~W~dFuriou~y~s.Usa.cc");
        case 18: TextDrawSetString(Textdrawname, "~y~FastAnd~W~Furio~y~us.Usa.cc");
        case 19: TextDrawSetString(Textdrawname, "~y~FastAndF~W~uri~y~ous.Usa.cc");
        case 20: TextDrawSetString(Textdrawname, "~y~FastAndFu~W~r~y~ious.Usa.cc");
        case 21: TextDrawSetString(Textdrawname, "~y~FastAndFurious.Usa.cc");
        case 22: TextDrawSetString(Textdrawname, "FastAndFurious.Usa.cc");

        case 23: TextDrawSetString(Textdrawname, "~g~F~W~astAndFurious.Usa.c~g~c");
        case 24: TextDrawSetString(Textdrawname, "~g~Fa~W~stAndFurious.Usa~g~.cc");
        case 25: TextDrawSetString(Textdrawname, "~g~Fas~W~tAndFurious.Us~g~a.cc");
        case 26: TextDrawSetString(Textdrawname, "~g~Fast~W~AndFurious.U~g~sa.cc");
        case 27: TextDrawSetString(Textdrawname, "~g~FastA~W~ndFurious~g~.Usa.cc");
        case 28: TextDrawSetString(Textdrawname, "~g~FastAn~W~dFuriou~g~s.Usa.cc");
        case 29: TextDrawSetString(Textdrawname, "~g~FastAnd~W~Furio~g~us.Usa.cc");
        case 30: TextDrawSetString(Textdrawname, "~g~FastAndF~W~uri~g~ous.Usa.cc");
        case 31: TextDrawSetString(Textdrawname, "~g~FastAndFu~W~r~g~ious.Usa.cc");
        case 32: TextDrawSetString(Textdrawname, "~g~FastAndFurious.Usa.cc");
        case 33: TextDrawSetString(Textdrawname, "FastAndFurious.Usa.cc");

        case 34: TextDrawSetString(Textdrawname, "~p~F~W~astAndFurious.Usa.c~p~c");
        case 35: TextDrawSetString(Textdrawname, "~p~Fa~W~stAndFurious.Usa~p~.cc");
        case 36: TextDrawSetString(Textdrawname, "~p~Fas~W~tAndFurious.Us~p~a.cc");
        case 37: TextDrawSetString(Textdrawname, "~p~Fast~W~AndFurious.U~p~sa.cc");
        case 38: TextDrawSetString(Textdrawname, "~p~FastA~W~ndFurious~p~.Usa.cc");
        case 39: TextDrawSetString(Textdrawname, "~p~FastAn~W~dFuriou~p~s.Usa.cc");
        case 40: TextDrawSetString(Textdrawname, "~p~FastAnd~W~Furio~p~us.Usa.cc");
        case 41: TextDrawSetString(Textdrawname, "~p~FastAndF~W~uri~p~ous.Usa.cc");
        case 42: TextDrawSetString(Textdrawname, "~p~FastAndFu~W~r~p~ious.Usa.cc");
        case 43: TextDrawSetString(Textdrawname, "~p~FastAndFurious.Usa.cc");
        case 44: TextDrawSetString(Textdrawname, "FastAndFurious.Usa.cc");

        case 45: TextDrawSetString(Textdrawname, "~b~F~W~astAndFurious.Usa.c~b~c");
        case 46: TextDrawSetString(Textdrawname, "~b~Fa~W~stAndFurious.Usa~b~.cc");
        case 47: TextDrawSetString(Textdrawname, "~b~Fas~W~tAndFurious.Us~b~a.cc");
        case 48: TextDrawSetString(Textdrawname, "~b~Fast~W~AndFurious.U~b~sa.cc");
        case 49: TextDrawSetString(Textdrawname, "~b~FastA~W~ndFurious~b~.Usa.cc");
        case 50: TextDrawSetString(Textdrawname, "~b~FastAn~W~dFuriou~b~s.Usa.cc");
        case 51: TextDrawSetString(Textdrawname, "~b~FastAnd~W~Furio~b~us.Usa.cc");
        case 52: TextDrawSetString(Textdrawname, "~b~FastAndF~W~uri~b~ous.Usa.cc");
        case 53: TextDrawSetString(Textdrawname, "~b~FastAndFu~W~r~b~ious.Usa.cc");
        case 54: TextDrawSetString(Textdrawname, "~b~FastAndFurious.Usa.cc");
        case 55: TextDrawSetString(Textdrawname, "FastAndFurious.Usa.cc"), AutoMessageNum=0;

    }
    return true;
}


public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdrawdot);
TextDrawShowForPlayer(playerid, Textdrawname);
return 1;
}
Reply


Messages In This Thread
Textdraw Message help - by RJTabish - 17.02.2019, 14:46
Re: Textdraw Message help - by ComDuck - 17.02.2019, 15:18
Re: Textdraw Message help - by RJTabish - 17.02.2019, 15:21
Re: Textdraw Message help - by Kasichok - 17.02.2019, 15:35
Re: Textdraw Message help - by RJTabish - 17.02.2019, 16:09
Re: Textdraw Message help - by UFF - 18.02.2019, 04:19

Forum Jump:


Users browsing this thread: 2 Guest(s)