30.01.2013, 15:05
You could also use a timer to only show the welcome text for like 5 seconds:
pawn Код:
forward WelcomeText(playerid);
public WelcomeText(playerid)
{
TextDrawHideForPlayer(playerid, welcomeText);
TextDrawHideForPlayer(playerid, infoText);
}
pawn Код:
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid,welcomeText);
TextDrawShowForPlayer(playerid,infoText);
SetTimerEx("WelcomeText", 5000, false, "i", playerid); //5000 is 5 seconds. 10000 is 10 seconds.
return 1;
}