[Off] Servidor
#3

Nгo entendi muito bem, mais se for em TextDraw fiz um exemplo para que vocк possa entender:
PHP код:
new textos[5][] =
{
    {
"eta porra"},
    {
"eta porra 2"},
    {
"eta porra xdddd"},
    {
"eta porra crl"},
    {
"eta porra 144"}
}, 
Text:Letreiro//Variбveis globais
// em OnGameModeInit:
public OnGameModeInit()
{    
    
/*
    Tempo para mudar os textos, coloquei a cada 1min, 
    caso queira mais tempo modifique '2' pelos minutos que vc quiser
    */
    
SetTimer("AtualizarLetreiro"60 1000true);
    
//-------------------------------------------------------------------------------
    
Letreiro TextDrawCreate(493.7142338.533338" "); // Vocк deve criar uma textdraw na posiзгo que vocк quer, isso й sу para exemplo
    
TextDrawLetterSize(Letreiro0.1993331.331200);
    
TextDrawAlignment(Letreiro1);
    
TextDrawColor(Letreiro, -1);
    
TextDrawSetShadow(Letreiro0);
    
TextDrawSetOutline(Letreiro1);
    
TextDrawBackgroundColor(Letreiro714);
    
TextDrawFont(Letreiro2);
    
TextDrawSetProportional(Letreiro1);
    
//-------------------------------------------------------------------------------
    
return 1;
}
forward AtualizarLetreiro();
public 
AtualizarLetreiro()
{
    
TextDrawHideForAll(Letreiro); //para o textdraw apagar as infos antigas
    
TextDrawSetString(Letreirotextos[random(5)]); //atualizar informaзхes
    
TextDrawShowForAll(Letreiro); //exibe o text draw com as novas informaзхes
    
return 1;

Reply


Messages In This Thread
Servidor - by GuilhermeSimoesPlays - 06.05.2015, 20:29
Re: Servidor - by Locky_ - 06.05.2015, 20:41
Re: Servidor - by Krusheer - 06.05.2015, 21:00
Re: Servidor - by matheusspohr - 07.05.2015, 02:41

Forum Jump:


Users browsing this thread: 1 Guest(s)