13.11.2010, 03:23
Err..I have the TextDrawEditor [fs] for text draws
I saved them and they came out as:
xD And now that i'm reading it, it says I need to make it "TextDrawShowForPlayer"
^^ I feel so stupid.
And question -
If you look up I have 4 textdraws
Survivors
Zombies
Score
Score
Do i even need the "score" ones?
I saved them and they came out as:
Код:
//TextDraw developed using Zamaroht's in-game TextDraw system //On top of script: new Text:Textdraw0; new Text:Textdraw1; new Text:Textdraw2; new Text:Textdraw3; //In OnGameModeInit or any other place, we procced to create our textdraw: Textdraw0 = TextDrawCreate(24.000000,315.000000,"SURVIVORS"); Textdraw1 = TextDrawCreate(24.000000,329.000000,"ZOMBIES"); Textdraw2 = TextDrawCreate(112.000000,315.000000,"SCORE"); Textdraw3 = TextDrawCreate(112.000000,329.000000,"SCORE"); TextDrawAlignment(Textdraw0,0); TextDrawAlignment(Textdraw1,0); TextDrawAlignment(Textdraw2,0); TextDrawAlignment(Textdraw3,0); TextDrawBackgroundColor(Textdraw0,0x000000ff); TextDrawBackgroundColor(Textdraw1,0x000000ff); TextDrawBackgroundColor(Textdraw2,0x000000ff); TextDrawBackgroundColor(Textdraw3,0x000000ff); TextDrawFont(Textdraw0,3); TextDrawLetterSize(Textdraw0,0.499999,1.200000); TextDrawFont(Textdraw1,3); TextDrawLetterSize(Textdraw1,0.599999,1.099999); TextDrawFont(Textdraw2,3); TextDrawLetterSize(Textdraw2,0.599999,1.200000); TextDrawFont(Textdraw3,3); TextDrawLetterSize(Textdraw3,0.599999,1.100000); TextDrawColor(Textdraw0,0x0000ffff); TextDrawColor(Textdraw1,0xff0000ff); TextDrawColor(Textdraw2,0xffffffff); TextDrawColor(Textdraw3,0xffffffff); TextDrawSetOutline(Textdraw0,1); TextDrawSetOutline(Textdraw1,1); TextDrawSetOutline(Textdraw2,1); TextDrawSetOutline(Textdraw3,1); TextDrawSetProportional(Textdraw0,1); TextDrawSetProportional(Textdraw1,1); TextDrawSetProportional(Textdraw2,1); TextDrawSetProportional(Textdraw3,1); TextDrawSetShadow(Textdraw0,1); TextDrawSetShadow(Textdraw1,1); TextDrawSetShadow(Textdraw2,1); TextDrawSetShadow(Textdraw3,1); //You can now use TextDrawShowForPlayer(-ForAll), TextDrawHideForPlayer(-ForAll) and //TextDrawDestroy functions to show, hide, and destroy the textdraw.
^^ I feel so stupid.
And question -
If you look up I have 4 textdraws
Survivors
Zombies
Score
Score
Do i even need the "score" ones?