[Ajuda] Imagem de tela de login rodomica
#1

Alguйm sabe um tuto pra deixa a imagem de tela de login rodom ?

EX:

TelasLogin[][] =
{
"loadsc3:loadsc3",
"loadsc4:loadsc4",
},
Reply
#2

Vocк nгo quer dizer random ?


Mas aqui estб:

pawn Код:
#include <a_samp>

new Text:Sprite0;

new Sprites[][128] =
{
"loadsc10:loadsc10",
"loadsuk:loadsc2",
"loadsuk:loadsc3",
"loadsuk:loadsc4",
"loadsuk:loadsc5",
"loadsuk:loadsc6",
"loadsuk:loadsc8",
"loadsuk:loadsc9",
"loadsc13:loadsc13",
"loadsc12:loadsc12"
};

public OnFilterScriptInit()
{
Sprite0 = TextDrawCreate(-3.500, -0.500, "loadsc10:loadsc10");
TextDrawFont(Sprite0, 4);
TextDrawTextSize(Sprite0, 661.000, 466.000);
TextDrawColor(Sprite0, -1);
return 1;
}


public OnFilterScriptExit()
{
TextDrawDestroy(Sprite0);
return 1;
}


public OnPlayerConnect(playerid)
{
TextDrawSetString(Sprite0, Sprites[random(sizeof(Sprites))]);
TextDrawShowForPlayer(playerid,Sprite0);
SetTimerEx("Unload", 60000 * 2, false, "d", playerid);
return 1;
}

forward Unload(p); public Unload(p)
{
TextDrawHideForPlayer(p, Sprite0);
return true;
}
Reply
#3

vlw tem skype ?
Reply
#4

Nгo !
Reply
#5

essa intro aki foi retirado de uma gm

Download
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)