19.03.2014, 07:46
Good morning, today, not having what I thought to do unto you simply do TextDraw. I thought about those who do not know how to make a TextDraw 0. Finally, below you draw a picture of the text
Looks like it is positioned in the bottom right. Next to it you can put the server version (V1.0.0) or what version you have.
They put them by following define include sites or sites
And this:
In function OnGameModeInt
Now, we show that the TextDraw when they spawn player.
We go to OnPlayerSpawn and put:
So, I hope you like it, is very simple ...
Looks like it is positioned in the bottom right. Next to it you can put the server version (V1.0.0) or what version you have.
PHP код:
new Text:Textdraw0;
new Text:Textdraw1;
And this:
PHP код:
Textdraw0 = TextDrawCreate(474.000000, 430.000000, "WWW.GTA-MP.RO");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.390000, 2.000000);
TextDrawColor(Textdraw0, 16711935);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
Textdraw1 = TextDrawCreate(595.000000, 434.000000, "V1.0.0");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 2);
TextDrawLetterSize(Textdraw1, 0.309999, 1.199999);
TextDrawColor(Textdraw1, -1);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);
Now, we show that the TextDraw when they spawn player.
We go to OnPlayerSpawn and put:
PHP код:
[B]
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, Textdraw0);
TextDrawShowForPlayer(i, Textdraw1);
}
}
[/B]