[HELP]Name Server Textdraw - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP]Name Server Textdraw (
/showthread.php?tid=470457)
[HELP]Name Server Textdraw -
WhiteAngels - 18.10.2013
How to Create Name Server Textdraw like This ...
http://imgur.com/LHUOXIR
Help Me Please !!!
Re: [HELP]Name Server Textdraw -
qazwsx - 18.10.2013
Quote:
Originally Posted by WhiteAngels
|
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
Re: [HELP]Name Server Textdraw -
WhiteAngels - 18.10.2013
Thx...
But i don't understand... >.<
Re: [HELP]Name Server Textdraw -
qazwsx - 18.10.2013
Quote:
Originally Posted by WhiteAngels
Thx...
But i don't understand... >.<
|
there is a bit explanation
wish it helped
Re: [HELP]Name Server Textdraw -
Jankingston - 18.10.2013
// 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
Re: [HELP]Name Server Textdraw -
WhiteAngels - 18.10.2013
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
Re: [HELP]Name Server Textdraw -
Jankingston - 15.06.2014
You're welcome.