18.10.2013, 07:43
[HELP]Name Server Textdraw
18.10.2013, 08:21
Quote:
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;
}
If you dont know much about textdraw, here is step by step guide in textdraw:
click me
18.10.2013, 08:28
Thx...
But i don't understand... >.<
But i don't understand... >.<
18.10.2013, 08:31
18.10.2013, 08:44
// On top of script:
Hope it helped
Note : Changee the name "My Server" to your server's name
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;
}
Note : Changee the name "My Server" to your server's name
18.10.2013, 09:00
Quote:
// On top of script:
pawn Код:
Note : Changee the name "My Server" to your server's name |
15.06.2014, 18:58
You're welcome.
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)