Textdraw sint showing up!!!
#1

Hey all, im making a textdraw but its not showing at all!!!

pawn Код:
new Text:Txt;
new HelpBot[][]=
{
"Only B.A.S.E. Jumping Sev3r!",
"Add our server To your favourites!",
"To see your stats use /stats!",
"Read the /rules before playing!",
"If you're a newbie here, please read /help!"
};

//forward

forward Bot();
pawn Код:
public OnGameModeInit()
{
    Txt = TextDrawCreate(2.000000, 429.000000, " ");
    TextDrawAlignment(Txt, 0);
    TextDrawBackgroundColor(Txt, 0xffffff33);
    TextDrawFont(Txt, 1);
    TextDrawLetterSize(Txt, 0.299999, 1.300000);
    TextDrawColor(Txt, 0x0000ff99);
    TextDrawSetOutline(Txt, 1);
    TextDrawSetProportional(Txt, 1);
    TextDrawSetShadow(Txt, 1);
    return 1;
}
pawn Код:
public Bot()
{
        SetTimer("Bot",20000,1); //The messages will randomly change every 20 seconds.
    TextDrawSetString(Text:Txt, HelpBot[random(sizeof(HelpBot))]);
    return 1;
}
pawn Код:
public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid,Txt);
    return 1;
}
Whats wrong??
BTW what are the coordinates to set it under the radar/map. Thanks.
Reply
#2

Click me for TextDraw Editor
Reply
#3

Quote:
Originally Posted by Berlovan
Посмотреть сообщение
I tryd that but it doesnt work for me, i will try again :/
Reply
#4

add SetTimer("Bot",20000,1); OnGameModeInit
Reply
#5

Quote:
Originally Posted by Ideal-Host.co.uk
Посмотреть сообщение
add SetTimer("Bot",20000,1); OnGameModeInit
thanks dude!
Reply
#6

No Problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)