SA-MP Forums Archive
Textdraws - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Textdraws (/showthread.php?tid=331854)



Textdraws - hillybilly123 - 06.04.2012

How can we identify textdraws and edit them for example something like this


Re: Textdraws - TzAkS. - 06.04.2012

Search in gamemode welcome to raven`s roleplay but it can be more textdraw not just one.
So search welcome, to raven`s...


Re: Textdraws - hillybilly123 - 06.04.2012

We have already done that


Re: Textdraws - MadeMan - 06.04.2012

Find all the "welcome"-s in the script.


Re: Textdraws - Rob_Maate - 06.04.2012

Mate that's the server MOTD. You should be able to change it ingame. If not, bust open your scriptfiles and look for any file that looks like it would contain server properties/configuration


Re: Textdraws - captainjohn - 06.04.2012

For the Server MOTD.

pawn Код:
new Text:Textdraw2;
new Text:Textdraw3;

pawn Код:
Textdraw2 = TextDrawCreate(0.000000,437.000000,"SERVER MOTD:");
    new versions[64];
    format(versions, sizeof(versions),"%s.     Build %s",Motd, Version);
    Textdraw3 = TextDrawCreate(303.000000,437.000000,versions);
    TextDrawUseBox(Textdraw2,1);
    TextDrawBoxColor(Textdraw2,0x00000066);
    TextDrawTextSize(Textdraw2,700.000000,1500.000000);
    TextDrawAlignment(Textdraw2,1);
    TextDrawAlignment(Textdraw3,2);
    TextDrawBackgroundColor(Textdraw2,0x00000066);
    TextDrawBackgroundColor(Textdraw3,0x000000ff);
    TextDrawFont(Textdraw2,1);
    TextDrawLetterSize(Textdraw2,0.299999,1.000000);
    TextDrawFont(Textdraw3,2);
    TextDrawLetterSize(Textdraw3,0.399999,1.000000);
    TextDrawColor(Textdraw2,0x00ff00cc);
    TextDrawColor(Textdraw3,0xffffffff);
    TextDrawSetOutline(Textdraw2,1);
    TextDrawSetOutline(Textdraw3,1);
    TextDrawSetProportional(Textdraw2,1);
    TextDrawSetProportional(Textdraw3,1);
    TextDrawSetShadow(Textdraw2,1);
    TextDrawSetShadow(Textdraw3,1);
Top one is just this.
pawn Код:
if(PlayerInfo[playerid][pTutDone] == 0 && PlayerInfo[playerid][pTut] != 0)
            {
                SendClientMessage(playerid, COLOR_LIGHTRED, "TIP: You haven't done your tutorial yet!");
                SendClientMessage(playerid, COLOR_LIGHTRED, "Type /tutorial if you want to proceed with it!");
                SendClientMessage(playerid, COLOR_LIGHTRED, "TIP: By finishing your tutorial you will get $7,500 and -500 Seconds at Regular!");
            }