Textdraw Problem
#1

Ok so I am trying to add some text draws to my game mode but on compile I get tons of errors.
Код:
public OnGameModeInit()
{
    Textdraw0 = TextDrawCreate(15.000000, 433.000000, "www.biohazardgaming.net");
    TextDrawBackgroundColor(Textdraw0, 255);
    TextDrawFont(Textdraw0, 1);
    TextDrawLetterSize(Textdraw0, 0.519999, 1.200000);
    TextDrawColor(Textdraw0, -16776961);
    TextDrawSetOutline(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);

    Textdraw1 = TextDrawCreate(255.000000, 432.000000, "Server Scripters: [BIO]KyleJ, [PRO]Pie, and Trey");
    TextDrawBackgroundColor(Textdraw1, 255);
    TextDrawFont(Textdraw1, 1);
    TextDrawLetterSize(Textdraw1, 0.409999, 1.399999);
    TextDrawColor(Textdraw1, 16711935);
    TextDrawSetOutline(Textdraw1, 1);
    TextDrawSetProportional(Textdraw1, 1);
    return 1;  
}
What'd I do wrong?
Reply
#2

your textdraw creation compiles well. post your errors please...
Reply
#3

Did you define (near the top):

pawn Код:
new Text: Textdraw0, Text: Textdraw1;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)