How to set text in the screen (forever)
#1

Hey, I wanted to know, how can I make TEXT that will stay allways on the screen, for example
in the top->right of the screen, like.. server's name, or server's forum address..
Reply
#2

Use a textdraw.

https://sampwiki.blast.hk/wiki/CreatePlayerTextDraw
Reply
#3



It shows me this, and in-game i can't see the text..
i did all they said.
Reply
#4

Did you use TextDrawShowForAll?
Reply
#5

No, I used PlayerTextDrawShow...
Reply
#6

Then assign the textdraw to a variable for each player.
pawn Код:
new PlayerText:TextDrawName[MAX_PLAYERS];
Then you can put this under OnPlayerConnect
pawn Код:
TextDrawName[playerid] = CreatePlayerTextDraw(...);
Then show it for each player
pawn Код:
PlayerTextDrawShow(playerid, TextDrawName[playerid]);
Alternatively, you can use these...
https://sampwiki.blast.hk/wiki/TextDrawCreate
https://sampwiki.blast.hk/wiki/TextDrawShowForAll
if you want it to be seen by the whole server.
Reply
#7

Show your code. I suck at predictions.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)