SA-MP Forums Archive
Splash screen? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Splash screen? (/showthread.php?tid=160829)



Splash screen? - -Rebel Son- - 17.07.2010

Howdy, ive seen people make textdraw splash screens before the player can spawn, i'm wondering how?


Re: Splash screen? - -Rebel Son- - 18.07.2010

[-=BuMp=-] Anyone ??


Re: Splash screen? - happyface - 18.07.2010

howdy doody partner, not sure if this best way but you can do something like

pawn Код:
new SendToClassSelection[MAX_PLAYERS] = 0;
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    if(SendToClassSelection[playerid] == 0)
    {
        TextDrawShowForPlayer(playerid, ....);
        TextDrawShowForPlayer(playerid, ....);
        TextDrawShowForPlayer(playerid, ....);

        SendToClassSelection[playerid] = 1;
       
        SetTimerEx("OnPlayerRequestClass",6000,0,"d",playerid);
        return 1;
    }

    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);

    return 1;
}



Re: Splash screen? - -Rebel Son- - 18.07.2010

Not bad brother, thanks.