27.01.2011, 02:14
pawn Код:
new Text:Logo;
public OnGameModeInit()
{
Logo = TextDrawCreate(320.0, 100.0, "My Text");
TextDrawSetOutline(Logo, 1);
TextDrawFont(Logo, 3);
TextDrawBackgroundColor(Logo, 0xFFFFFFFF );
TextDrawAlignment(Logo, 2);
TextDrawLetterSize(Logo, 2.0 ,7.5);
return(1);
}
public OnPlayerConnect( playerid )
{
TextDrawShowForPlayer(playerid, Logo);
return(1);
}
public OnPlayerSpawn( playerid )
{
TextDrawHideForPlayer(playerid, Logo);
return(1);
}