Textdraw Message help
#1

Hi i need little bit help in my codes actually i wanted to make textdraws messages but not random bcz i wanted to make number wise message like message 1 message 2 and message 3 like this not a random message textdraws
so here is textdraw codes its now working

PHP код:
#include <a_samp>
#include <foreach>
new Text:Textdrawdot;
new 
Text:Textdrawname;
new 
AutoMessageNum;
#define RepeatingTime 3
public OnFilterScriptInit()
{
Textdrawname TextDrawCreate(243.500000404.250000"FastAndFurious.Usa.cc");
TextDrawLetterSize(Textdrawname0.4499991.600000);
TextDrawAlignment(Textdrawname1);
TextDrawColor(Textdrawname, -1);
TextDrawSetShadow(Textdrawname0);
TextDrawSetOutline(Textdrawname1);
TextDrawBackgroundColor(Textdrawname51);
TextDrawFont(Textdrawname3);
TextDrawSetProportional(Textdrawname1);
Textdrawdot TextDrawCreate(475.500000327.833007"");
TextDrawLetterSize(Textdrawdot0.4499991.600000);
TextDrawAlignment(Textdrawdot1);
TextDrawColor(Textdrawdot, -5963521);
TextDrawSetShadow(Textdrawdot0);
TextDrawSetOutline(Textdrawdot1);
TextDrawBackgroundColor(Textdrawdot51);
TextDrawFont(Textdrawdot1);
TextDrawSetProportional(Textdrawdot1);
SetTimer("AutoMessage"RepeatingTime*45true);
return 
1;
}
forward AutoMessage();
public 
AutoMessage()
{
    switch(
AutoMessageNum)
    {
        case 
0TextDrawSetString(Textdrawname"~r~F~W~astAndFurious.Usa.c~r~c");
        case 
1TextDrawSetString(Textdrawname"~r~Fa~W~stAndFurious.Usa~r~.cc");
        case 
2TextDrawSetString(Textdrawname"~r~Fas~W~tAndFurious.Us~r~a.cc");
        case 
3TextDrawSetString(Textdrawname"~r~Fast~W~AndFurious.U~r~sa.cc");
        case 
4TextDrawSetString(Textdrawname"~r~FastA~W~ndFurious~r~.Usa.cc");
        case 
5TextDrawSetString(Textdrawname"~r~FastAn~W~dFuriou~r~s.Usa.cc");
        case 
6TextDrawSetString(Textdrawname"~r~FastAnd~W~Furio~r~us.Usa.cc");
        case 
7TextDrawSetString(Textdrawname"~r~FastAndF~W~uri~r~ous.Usa.cc");
        case 
8TextDrawSetString(Textdrawname"~r~FastAndFu~W~r~r~ious.Usa.cc");
        case 
9TextDrawSetString(Textdrawname"~r~FastAndFurious.Usa.cc");
        case 
10TextDrawSetString(Textdrawname"FastAndFurious.Usa.cc");
        case 
11TextDrawSetString(Textdrawname"~y~F~W~astAndFurious.Usa.c~y~c");
        case 
12TextDrawSetString(Textdrawname"~y~Fa~W~stAndFurious.Usa~y~.cc");
        case 
13TextDrawSetString(Textdrawname"~y~Fas~W~tAndFurious.Us~y~a.cc");
        case 
14TextDrawSetString(Textdrawname"~y~Fast~W~AndFurious.U~y~sa.cc");
        case 
15TextDrawSetString(Textdrawname"~y~FastA~W~ndFurious~y~.Usa.cc");
        case 
16TextDrawSetString(Textdrawname"~y~FastAn~W~dFuriou~y~s.Usa.cc");
        case 
17TextDrawSetString(Textdrawname"~y~FastAnd~W~Furio~y~us.Usa.cc");
        case 
18TextDrawSetString(Textdrawname"~y~FastAndF~W~uri~y~ous.Usa.cc");
        case 
19TextDrawSetString(Textdrawname"~y~FastAndFu~W~r~y~ious.Usa.cc");
        case 
20TextDrawSetString(Textdrawname"~y~FastAndFurious.Usa.cc");
        case 
21TextDrawSetString(Textdrawname"FastAndFurious.Usa.cc");
        case 
22TextDrawSetString(Textdrawname"~g~F~W~astAndFurious.Usa.c~g~c");
        case 
23TextDrawSetString(Textdrawname"~g~Fa~W~stAndFurious.Usa~g~.cc");
        case 
24TextDrawSetString(Textdrawname"~g~Fas~W~tAndFurious.Us~g~a.cc");
        case 
25TextDrawSetString(Textdrawname"~g~Fast~W~AndFurious.U~g~sa.cc");
        case 
26TextDrawSetString(Textdrawname"~g~FastA~W~ndFurious~g~.Usa.cc");
        case 
27TextDrawSetString(Textdrawname"~g~FastAn~W~dFuriou~g~s.Usa.cc");
        case 
28TextDrawSetString(Textdrawname"~g~FastAnd~W~Furio~g~us.Usa.cc");
        case 
29TextDrawSetString(Textdrawname"~g~FastAndF~W~uri~g~ous.Usa.cc");
        case 
30TextDrawSetString(Textdrawname"~g~FastAndFu~W~r~g~ious.Usa.cc");
        case 
31TextDrawSetString(Textdrawname"~g~FastAndFurious.Usa.cc");
        case 
32TextDrawSetString(Textdrawname"FastAndFurious.Usa.cc");
        case 
33TextDrawSetString(Textdrawname"~p~F~W~astAndFurious.Usa.c~p~c");
        case 
34TextDrawSetString(Textdrawname"~p~Fa~W~stAndFurious.Usa~p~.cc");
        case 
35TextDrawSetString(Textdrawname"~p~Fas~W~tAndFurious.Us~p~a.cc");
        case 
36TextDrawSetString(Textdrawname"~p~Fast~W~AndFurious.U~p~sa.cc");
        case 
37TextDrawSetString(Textdrawname"~p~FastA~W~ndFurious~p~.Usa.cc");
        case 
38TextDrawSetString(Textdrawname"~p~FastAn~W~dFuriou~p~s.Usa.cc");
        case 
39TextDrawSetString(Textdrawname"~p~FastAnd~W~Furio~p~us.Usa.cc");
        case 
40TextDrawSetString(Textdrawname"~p~FastAndF~W~uri~p~ous.Usa.cc");
        case 
41TextDrawSetString(Textdrawname"~p~FastAndFu~W~r~p~ious.Usa.cc");
        case 
42TextDrawSetString(Textdrawname"~p~FastAndFurious.Usa.cc");
        case 
43TextDrawSetString(Textdrawname"FastAndFurious.Usa.cc");
        case 
44TextDrawSetString(Textdrawname"~b~F~W~astAndFurious.Usa.c~b~c");
        case 
45TextDrawSetString(Textdrawname"~b~Fa~W~stAndFurious.Usa~b~.cc");
        case 
46TextDrawSetString(Textdrawname"~b~Fas~W~tAndFurious.Us~b~a.cc");
        case 
47TextDrawSetString(Textdrawname"~b~Fast~W~AndFurious.U~b~sa.cc");
        case 
48TextDrawSetString(Textdrawname"~b~FastA~W~ndFurious~b~.Usa.cc");
        case 
49TextDrawSetString(Textdrawname"~b~FastAn~W~dFuriou~b~s.Usa.cc");
        case 
50TextDrawSetString(Textdrawname"~b~FastAnd~W~Furio~b~us.Usa.cc");
        case 
51TextDrawSetString(Textdrawname"~b~FastAndF~W~uri~b~ous.Usa.cc");
        case 
52TextDrawSetString(Textdrawname"~b~FastAndFu~W~r~b~ious.Usa.cc");
        case 
53TextDrawSetString(Textdrawname"~b~FastAndFurious.Usa.cc");
        case 
54TextDrawSetString(Textdrawname"FastAndFurious.Usa.cc");
    }
    if(
AutoMessageNum 54) { AutoMessageNum++; }
    else { 
AutoMessageNum 0; }
    return 
true;
}
public 
OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playeridTextdrawdot);
TextDrawShowForPlayer(playeridTextdrawname);
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: 4 Guest(s)