Where do you put TextDrawShowForAll ?
#1

I have
pawn Код:
Textdraw0 = TextDrawCreate(1.000000,434.000000,"Sweet Life DM/Stunt - /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 OnGameModeInit

And
pawn Код:
new Text:Textdraw0;
At top, now where do I put
pawn Код:
TextDrawShowForAll // and what else after?
I have tried under OnGameModeInit but it doesnt show up IG.
Reply
#2

Read wiki!
Reply
#3

Quote:
Originally Posted by Gijsmin
Read wiki!
I have, didnt show where to put it!
Reply
#4

I'm guessing this is a textdraw that will be show to the whole server constantly. In that case, use TextDrawShowForPlayer and put it in OnPlayerConnect.
Reply
#5

Indeed, you just create the textdraw, you never make it actually show up. Use TextDrawShowForPlayer (in OnPlayerConnect or OnPlayerSpawn)
Reply
#6

Yh, thanks, works now!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)