Simple Txtdraw don t work, Hel.....pe me please :D!
#5

Get rid of the timer, that method of showing a textdraw is not needed for this situation.

Create the textdraw via OnGameModeInit:
Код:
Site = TextDrawCreate(120.000,425.000,"http://blablabla.com");
TextDrawColor(Site,COLOR_WHITE);
TextDrawLetterSize(Site, 0.5, 1.5);
TextDrawFont(Site, 3);
TextDrawBackgroundColor(Site, 0x000000AA);
TextDrawSetOutline(Site, 2);
Then show the textdraw to the player that connects to the server.
Код:
public OnPlayerConnect(playerid)
{
   TextDrawShowForPlayer(playerid, Site);
}
Then hide the textdraw to the player that disconnects the server.
Код:
public OnPlayerDisconnect(playerid, reason)
{
   TextDrawHideForPlayer(playerid, Site);
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)