Wallpaper
#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


Messages In This Thread
Wallpaper - by NNek - 21.06.2014, 06:18
Re: Wallpaper - by RenovanZ - 21.06.2014, 06:22
Re: Wallpaper - by NNek - 21.06.2014, 06:29
Re: Wallpaper - by NNek - 21.06.2014, 14:43
Re: Wallpaper - by SkittlesAreFalling - 21.06.2014, 15:36
Re: Wallpaper - by RedFusion - 21.06.2014, 16:00
Re: Wallpaper - by NNek - 24.06.2014, 03:49
Re: Wallpaper - by Faisal_khan - 24.06.2014, 03:59

Forum Jump:


Users browsing this thread: 1 Guest(s)