Welcome warning
#5

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;
}
Reply


Messages In This Thread
Welcome warning - by shoaib_sait - 30.01.2013, 14:34
Re: Welcome warning - by SKAzini - 30.01.2013, 14:53
Re: Welcome warning - by Patrick - 30.01.2013, 14:55
Re: Welcome warning - by mineralo - 30.01.2013, 15:02
Re: Welcome warning - by SKAzini - 30.01.2013, 15:05

Forum Jump:


Users browsing this thread: 2 Guest(s)