How do I use "TextDrawShowForAll" ?
#1

Here's my code:

~Top of script~
pawn Код:
new Text:Textdraw0;
~Under OnGameModeInit~
pawn Код:
Textdraw0 = TextDrawCreate(1.000000,434.000000,"Sweet life - /help /admins");
    TextDrawAlignment(Textdraw0,0);
    TextDrawBackgroundColor(Textdraw0,0x000000ff);
    TextDrawFont(Textdraw0,3);
    TextDrawLetterSize(Textdraw0,1.000000,1.500000);
    TextDrawColor(Textdraw0,0xffffffff);
    TextDrawSetOutline(Textdraw0,1);
    TextDrawSetProportional(Textdraw0,1);
    TextDrawSetShadow(Textdraw0,1);
Under that I add
pawn Код:
TextDrawShowForAll
right?

But what do I write after TextDrawShowForAll, I mean like (playerid,) etc.
Reply
#2

TextdrawShowForAll(Textdraw0);

Next time click here.
Reply
#3

When you write a function out put just one '(' then wait and Pawno will show you the arguments for the function.
Reply
#4

Quote:
Originally Posted by Donny
When you write a function out put just one '(' then wait and Pawno will show you the arguments for the function.
Only if it's in an include.
Reply
#5

Quote:
Originally Posted by Norn
Quote:
Originally Posted by Donny
When you write a function out put just one '(' then wait and Pawno will show you the arguments for the function.
Only if it's in an include.
Indeed, thankyou.
Reply
#6

I have another question, the textdraw doesnt show up in game, why is this..?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)