Wallpaper
#1

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

Use sprite
Reply
#3

This allowed using Windows 7
Reply
#4

any one
Reply
#5

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.
Reply
#6

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.
Reply
#7

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
Reply
#8

Use a timer.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)