how to create in game text - 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: how to create in game text (
/showthread.php?tid=534536)
how to create in game text -
kaloul - 30.08.2014
how to create in game text like :
Re: how to create in game text -
Sledgehammer - 30.08.2014
I believe that's a textdraw?
https://sampwiki.blast.hk/wiki/TextDraw
Re: how to create in game text -
kaloul - 30.08.2014
This ?
// This variable is used to store the id of the textdraw
// so that we can use it throught the script
new Text:welcomeText;
public OnGameModeInit()
{
// This line is used to create the textdraw.
// Note: This creates a textdraw without any formatting.
welcomeText = TextDrawCreate(240.0,580.0,"Welcome to my SA-MP server");
return 1;
}
public OnPlayerConnect(playerid)
{
//This is used to show the player the textdraw when they connect.
TextDrawShowForPlayer(playerid,welcomeText);
Re: how to create in game text -
Phyzic - 30.08.2014
Quote:
Originally Posted by xkirill
Actually its a 3d text.
|
That ^^
Re: how to create in game text -
Kaperstone - 30.08.2014
Actually its a 3d text.
Quote:
Originally Posted by Ralfie
|