SA-MP Forums Archive
Wallpaper - 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)
+--- Thread: Wallpaper (/showthread.php?tid=520970)



Wallpaper - PiLLoW - 21.06.2014

anyone can help me to add a Picture in start of my server login


Re: Wallpaper - RenovanZ - 21.06.2014

Use sprite


Re: Wallpaper - PiLLoW - 21.06.2014

This allowed using Windows 7


Re: Wallpaper - PiLLoW - 21.06.2014

any one


Re: Wallpaper - SkittlesAreFalling - 21.06.2014

SA-MP natives are Linux/Windows friendly.

You need to use the TextDraw functions [search them on the wiki], there are many tutorials in the tutorial section of this forum that will teach you how to use them.


Re: Wallpaper - RedFusion - 21.06.2014

Example:
pawn Код:
new PlayerText:tdSprite[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
    new str[18], loadscreen;
    loadscreen = random(14) + 1;
    format(str, sizeof(str), "loadsc%i:loadsc%i", loadscreen, loadscreen);

    tdSprite[playerid] =
    CreatePlayerTextDraw    (playerid, -0.500, -0.500, str);
    PlayerTextDrawFont      (playerid, tdSprite[playerid], 4);
    PlayerTextDrawTextSize  (playerid, tdSprite[playerid], 641.500, 449.500);
    PlayerTextDrawColor     (playerid, tdSprite[playerid], -1);
    PlayerTextDrawShow      (playerid, tdSprite[playerid]);
}
This will create a textdraw with a random loadingscreen texture, and show it for the player upon connection.


Re: Wallpaper - PiLLoW - 24.06.2014

Thanks guys btw how i can set it in introduction example they join to my serve and the picture will be shown before register or loging in


Re: Wallpaper - Faisal_khan - 24.06.2014

Use a timer.