[HELP]Name Server Textdraw
#1

How to Create Name Server Textdraw like This ...
http://imgur.com/LHUOXIR

Help Me Please !!!
Reply
#2

Quote:
Originally Posted by WhiteAngels
Посмотреть сообщение
How to Create Name Server Textdraw like This ...
http://imgur.com/LHUOXIR

Help Me Please !!!
I'd make simple one for you:

pawn Код:
new Text:webext;//Making variable

public OnGameModeInit()
{
webtext = TextDrawCreate(20,430,"My Server")//setting up textdraw, + setting up the float x and float y to shown in screen
TextDrawFont(webtext,3);//setting up the textdraw font
}
pawn Код:
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,webtext);//showing the texdraw
return 1;
}
EDIT:So when the player connect, the textdraw will be shown.
If you dont know much about textdraw, here is step by step guide in textdraw:
click me
Reply
#3

Thx...
But i don't understand... >.<
Reply
#4

Quote:
Originally Posted by WhiteAngels
Посмотреть сообщение
Thx...
But i don't understand... >.<
there is a bit explanation

wish it helped
Reply
#5

// On top of script:

pawn Код:
new Text:webtext;
//================================
OnGamemodeInit()
{
      webtext = TextDrawCreate(471 ,452 , "My Server");
      TextDrawFont(webtext , 1);
      TextDrawLetterSize(webtext , 1, 7);
      TextDrawColor(webtext , 0xeb1515FF);
      TextDrawSetOutline(webtext , false);
      TextDrawSetProportional(webtext , true);
      TextDrawSetShadow(webtext , 1);
      return 1;
}
//================================

OnPlayerConnect(playerid)
{
      TextDrawShowForPlayer(playerid, webtext);
      return 1;
}
Hope it helped

Note : Changee the name "My Server" to your server's name
Reply
#6

Quote:
Originally Posted by Jankingston
Посмотреть сообщение
// On top of script:

pawn Код:
new Text:webtext;
//================================
OnGamemodeInit()
{
      webtext = TextDrawCreate(471 ,452 , "My Server");
      TextDrawFont(webtext , 1);
      TextDrawLetterSize(webtext , 1, 7);
      TextDrawColor(webtext , 0xeb1515FF);
      TextDrawSetOutline(webtext , false);
      TextDrawSetProportional(webtext , true);
      TextDrawSetShadow(webtext , 1);
      return 1;
}
//================================

OnPlayerConnect(playerid)
{
      TextDrawShowForPlayer(playerid, webtext);
      return 1;
}
Hope it helped

Note : Changee the name "My Server" to your server's name
Thanks
Reply
#7

You're welcome.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)